[cups.bugs] [MOD] STR #4170: Ordering in printer listing broken

Jan Wenzel scripter01 at gmx.net
Thu Aug 23 08:23:45 PDT 2012


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

[STR New]

Steps to reproduce:

1. Create min. 150 printers:
# for i in $(seq 1 1 150); do lpadmin -p printer$i -E ; done
2. Open the printer listing (http://localhost:631/printers), the first 100
printers are shown and ordered ascending.
3. Click on "Show next"
4. The last 50 printers are show and ordered descending (aka "the first 50
printers")

The form values are now initialized, the pagination is working from now
on.

To fix the broken initial behavior, a default value of ORDER="asc" should
be set for the "Show next" and "Show previous" buttons.

Link: http://www.cups.org/str.php?L4170
Version: 1.5.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pager.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20120823/97dcf460/attachment.ksh>


More information about the cups mailing list