]> git.koha-community.org Git - koha.git/commit
Bug 20687: Check all share keys for a given list
authorNick Clemens <nick@bywatersolutions.com>
Tue, 1 May 2018 13:47:18 +0000 (13:47 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 May 2018 05:27:05 +0000 (07:27 +0200)
commitb7884c7fad193054cfd08b38ab7f38aa627e5448
treeeeec3db203732feba6de892d243be5cb58be8584
parent84fca5c20e4f950665eb009d38ad43cdfe61ecf8
Bug 20687: Check all share keys for a given list

This patch gets all the shares for a list and iterates through to find
the correct one when accepting from a link

To test:
1 - Create a private list in the opac
2 - Invite 2 patrons to the list
3 - Try to accept from the patron you first shared to
4 - You will get a failure message about expiration of the link
5 - Apply patch
6 - Now try to accept the first share
7 - It works! Success!

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 07cc384cdaa5b191a55fe2fe300705d20a908a72)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-shareshelf.pl