[koha-commits] main Koha release repository branch master updated. v16.11.00-98-g8db17f9
Git repo owner
gitmaster at git.koha-community.org
Thu Dec 22 21:29:39 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 8db17f9ecab0ced4276dcc55e9663d6d0a45575a (commit)
from c86a9e4d300fe746fe542e38a60148de6501f7a6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8db17f9ecab0ced4276dcc55e9663d6d0a45575a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Dec 13 12:28:35 2016 +0000
Bug 17764: (bug 17556 follow-up) Fix search for logged out users and lost items
If you are non logged-in and you the search result contain lost items,
you will get:
Can't call method "category" on an undefined value at
/home/liz/koha-src/koha/C4/Search.pm line 2091.
This is because bug 17556 assumed that $userenv was not defined when the
user is logged out. Actually it is, with non defined or empty string
values.
Test plan:
Do a search in the opac that would turn up a whole list of results (and
not just that one) with the lost item included.
=> Without this patch you should get an error
=> With this patch applied you should see the search results
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Search.pm | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list