Wrong ordering when installing more than 10 instances #256

Open
opened 2022-11-01 15:23:36 +01:00 by XoBoR · 1 comment
XoBoR commented 2022-11-01 15:23:36 +01:00 (Migrated from github.com)

Linux Distribution

not relevant

What happened

When you install more than 10 instances, due to alphanumeric sorting printer 10 becomes the first instance on port 7125, printer 11 is on 7126 and so on.

What did you expect to happen

ordering by instance number instead of the name of the printer

How to reproduce

install more than 10 instances

Additional information

Not a big issue but it'd still be nicer if this was fixed.

### Linux Distribution not relevant ### What happened When you install more than 10 instances, due to alphanumeric sorting printer 10 becomes the first instance on port 7125, printer 11 is on 7126 and so on. ### What did you expect to happen ordering by instance number instead of the name of the printer ### How to reproduce install more than 10 instances ### Additional information Not a big issue but it'd still be nicer if this was fixed.
dw-0 commented 2022-11-01 17:10:40 +01:00 (Migrated from github.com)

Okay that would indeed make sense in case of "printer_" as instance names. Im just thinking about how to deal with it when there is no index in the name itself, so in case of custom names. I will think about it, but your proposal actually makes sense in the mentioned scenario, yes.

Okay that would indeed make sense in case of "printer_<num>" as instance names. Im just thinking about how to deal with it when there is no index in the name itself, so in case of custom names. I will think about it, but your proposal actually makes sense in the mentioned scenario, yes.
Sign in to join this conversation.