Bug 20936: Add patron's hold history menu in OPAC
authorAgustin Moyano <agustinmoyano@theke.io>
Wed, 6 May 2020 22:38:19 +0000 (19:38 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Nov 2020 14:55:48 +0000 (15:55 +0100)
commit10e23507f5b4c6faf202122e81175ebc033bdee6
treec91e99819f884c2c52c298aecfbaba9f94b25768
parent5bab8b0fec65e5b12da3545dd021509669fce5c3
Bug 20936: Add patron's hold history menu in OPAC

This patch adds patron's hold history in OPAC.

To test:
1. apply this patch
2. Find a patron, place several holds and cancel or fulfill them
3. Go to patron's opac
CHECK => There is no 'your holds history' option in menu
4. In admin preferences enable OPACHoldsHistory
5. Go back to patron's opac
SUCCESS => There is a 'your holds history' menu option
        => Holds history displays all holds
6. Change order, and list limit
SUCCESS => All controls work as expected
7. Sign off.

Signed-off-by: Todd <tgoatley@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt [new file with mode: 0644]
opac/opac-holdshistory.pl [new file with mode: 0755]