Rack 'next' button takes the 'alpha' next rackname #6246

Closed
opened 2025-12-29 19:38:27 +01:00 by adam · 1 comment
Owner

Originally created by @PieterL75 on GitHub (Mar 22, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.9

Python version

3.9

Steps to Reproduce

  1. Create 15 racks (Rack1, Rack2, Rack3 ... Rack15)
  2. open Rack1
  3. click the 'next' button

Expected Behavior

Rack2 should be displayed

Observed Behavior

Rack10 is displayed.

The next button is sorting the racknames alphabetically.

The rack table sorts them properly taking the numeric fields into account. This sorting needs to be used in the 'next/previous' button logic
image

Originally created by @PieterL75 on GitHub (Mar 22, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.9 ### Python version 3.9 ### Steps to Reproduce 1. Create 15 racks (Rack1, Rack2, Rack3 ... Rack15) 2. open Rack1 3. click the 'next' button ### Expected Behavior Rack2 should be displayed ### Observed Behavior Rack10 is displayed. The next button is sorting the racknames alphabetically. The rack table sorts them properly taking the numeric fields into account. This sorting needs to be used in the 'next/previous' button logic ![image](https://user-images.githubusercontent.com/74899468/159444191-01913a3c-ee01-49ba-8c3c-a3a2406c61b5.png)
adam added the type: bugstatus: accepted labels 2025-12-29 19:38:27 +01:00
adam closed this issue 2025-12-29 19:38:27 +01:00
Author
Owner

@PieterL75 commented on GitHub (Mar 22, 2022):

Lightning fast !

Thanks !

@PieterL75 commented on GitHub (Mar 22, 2022): Lightning fast ! Thanks !
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6246