Bug 22156: Subscription result list sorts on "checkbox" by default
authorOwen Leonard <oleonard@myacpl.org>
Thu, 17 Jan 2019 16:39:52 +0000 (16:39 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 6 Mar 2019 02:49:21 +0000 (02:49 +0000)
commit3182d2693d2a3e561183bab203036e37a4abb66c
tree00794d4a2ef6eaae17ff828551d3bc17f771e1c9
parentbde83720d4f1995bf5047f9429545a56bda3eddc
Bug 22156: Subscription result list sorts on "checkbox" by default

This patch adds default sorting by title to the subscription search
results list. Previously no default sort was defined, so it defaulted to
sorting by the first column in the table.

To test, apply the patch and go to Serials.

- Perform a search of subscriptions which will return multiple results.
- Confirm that the table of open subscriptions is sorted by default by
  title ascending.
- Confirm the same for the table of closed subscriptions.

Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 8a2d5fab95ae2db5adf8cca16524b7a231680dd3)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit dc865158780c28fb22c5a8c03d3105529403a150)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt