From 8a88481d2cfc84af3917c10db6bb0c5c8408e68d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 16 Jan 2020 11:34:07 +0000 Subject: [PATCH] Bug 24423: Fix for deletion - cleanup accidental debug inclusiopm To test: Repeat prior test plan with 'Delete selected' --- Koha/SearchEngine/Elasticsearch/Search.pm | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/SearchEngine/Elasticsearch/Search.pm b/Koha/SearchEngine/Elasticsearch/Search.pm index ebf5d242c1..635d6b5687 100644 --- a/Koha/SearchEngine/Elasticsearch/Search.pm +++ b/Koha/SearchEngine/Elasticsearch/Search.pm @@ -93,7 +93,6 @@ sub search { $page = (!defined($page) || ($page <= 0)) ? 0 : $page - 1; $query->{from} = $page * $query->{size}; } - warn Data::Dumper::Dumper( $query ); my $elasticsearch = $self->get_elasticsearch(); my $results = eval { $elasticsearch->search( diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 2e4f5d9412..50b2ac9d66 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -888,6 +888,7 @@ Note that permanent location is a code, and location may be an authval. if (itemnumbers.length > 0) { var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1'; url += '&itemnumber=' + itemnumbers.join('&itemnumber='); + url += '&biblionumber=[% biblionumber | uri %]'; url += '&src=CATALOGUING'; $('a.itemselection_action_delete').attr('href', url); } else { -- 2.11.0