[cups.bugs] [LOW] STR #4224: "Show Next" button lists printers in unexpected order

Alex Korobkin korobkin+cups at gmail.com
Tue Nov 13 10:56:33 PST 2012


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Tested on 1.4.6 and 1.5.4 on Ubuntu Linux 10.04 x64. 

When the list of printers at http://cups-server/printers is longer than
100 printers, CUPS Web interface lists first 100 printers and a "Show
Next" button. However, pressing this button brings user to a list of the
same first 100 printers in the descending alphabetic order, and "Show
previous" button becomes available. 

"Show previous" brings user to a list of the last 100 printers in the
descending alphabetic order. 

This is how query looks when the "Show Next" is pressed :
https://cups-server/printers/?QUERY=&ORDER=&WHICH_JOBS=&FIRST=100

This is how query looks when the "Show Previous" is pressed:
https://cups-server/printers/?QUERY=&ORDER=&WHICH_JOBS=&FIRST=0

This is how it seems it should be: 
/printers/?QUERY=&ORDER=asc&WHICH_JOBS=&FIRST=100 for Show Next and 
/printers/?QUERY=&ORDER=asc&WHICH_JOBS=&FIRST=0 for Show Previous.

Link: http://www.cups.org/str.php?L4224
Version: 1.5.4





More information about the cups mailing list