From e175dda2cad4160b2a51d7d49370374b74c7d829 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 3 Oct 2017 16:01:15 +0200 Subject: [PATCH] Bug 19343: [17.05.X] Remove private lists with edit permission from search results 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 Signed-off-by: Fridolin Somers --- Koha/Virtualshelves.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/Virtualshelves.pm b/Koha/Virtualshelves.pm index a8d1b20b10..2469167448 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.39.5