]> git.koha-community.org Git - koha.git/commit
Bug 20312: Add a link to last consulted patron
authorPierre-Luc Lapointe <pierreluc.lapointe@inLibro.com>
Fri, 17 Aug 2018 20:45:23 +0000 (16:45 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 15:38:20 +0000 (15:38 +0000)
commit587e12100f4c35caa395e27815fcc03e6bfb4e5d
treeee445cb68b290d7c9648b94303189e10d036a864
parent347cc47fe4609d208715c171ed0612e5ff8e1ee1
Bug 20312: Add a link to last consulted patron

This new feature adds a link to the last patron consulted
in the staff site. It uses cookies to save this information.
When a staff site user accesses a patron record, the ID, name
and card number of the patron will be saved in the cookie.

To test:
1- Apply the patch
2- Go to a patron details' page
4- Go to another page
4- Verify that the link "Last patron" appears on the top-right
   corner of the screen
5- Click on the link
6- Verify that you are at the patron's checkout page
7- Click on the "X" button next to the "Last patron" link
8- The link should be gone
9- Go to another page
10- The link shouldn't appear (until the next patron detail's
    page)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/includes/last-borrower.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/staff-global.js