From 55d2556f7729736237ae30979d823542550351ac Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 3 Oct 2017 16:01:15 +0200 Subject: [PATCH] Bug 19343: [16.11.X] Remove private lists with edit permission from search results Content-Type: text/plain; charset=utf-8 If the list is not shared, it should not be listed. We only need to remove the allow_add line. Signed-off-by: Jonathan Druart --- Koha/Virtualshelves.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/Virtualshelves.pm b/Koha/Virtualshelves.pm index a8d1b20..2469167 100644 --- a/Koha/Virtualshelves.pm +++ b/Koha/Virtualshelves.pm @@ -135,7 +135,6 @@ sub get_shelves_containing_record { 'me.owner' => $borrowernumber, -or => { 'virtualshelfshares.borrowernumber' => $borrowernumber, - "me.allow_add" => 1, }, } }, -- 2.1.4