]> git.koha-community.org Git - koha.git/commit
Bug 16317 - Attempt to share private list results in error
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 20 Apr 2016 20:37:13 +0000 (20:37 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 25 Apr 2016 12:15:51 +0000 (14:15 +0200)
commitd26b3591b1da9f4eab2555f142b88a6f703c578e
treeba78a285a665b9aeb85ec340cf933af3c96a5f0d
parenta0dd9770448322189dde29467e54d272f7d03071
Bug 16317 - Attempt to share private list results in error

When sharing a private list, the the receiver of the share link will get
the following error when they are logged in and try to click the link:

DBIx::Class::Storage::DBI::_dbh_execute(): Unknown column 'sharedate
desc' in 'order clause' at /home/koha/kohaclone/Koha/Objects.pm line 150

Test Plan:
1) Create a private list
2) Share that list to another account
3) Log in as the other account
4) Click the link in the email you recieved
5) Note the error
6) Apply this patch
7) Click the link again
8) You should see no error and be able to view the list!

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit ce47345c21930074a4ebf79f658d4a43b8944f6c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
opac/opac-shareshelf.pl