Bug 9916: (follow-up) restore default sort order for OPAC "most popular" page
commit1b6452bc5422c998e0127822c5b3c47ff77355d1
authorGalen Charlton <gmc@esilibrary.com>
Mon, 19 Aug 2013 14:39:24 +0000 (19 14:39 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 19 Aug 2013 14:39:24 +0000 (19 14:39 +0000)
tree65734cf0be3cb767724f1286b70892574e521899
parentba470954fd4b4bb0cd50f47769ecd2f957dcc3f1
Bug 9916: (follow-up) restore default sort order for OPAC "most popular" page

Set the primary default sort order to descending number of checkouts,
matching the situation prior to the introduction of DataTables. This
patch also sets the default secondary sort to ascending title.

To test:

[1] Ensure that OpacTopissue is ON.
[2] Go to the OPAC "most popular" page.
[3] Verify that the items are sorted in order of descending
    checkout count.  If two items have the same number of
    checkouts, verify that they are sorted in ascending
    title order.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt