From 64ac84cade6654d70c1e1e5e0712817df29ea31c Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 16 Feb 2012 18:35:40 +0100 Subject: [PATCH] bug 7546 follow-up, enabled_staff_search_views problem * enabled_staff_search_views was not exported by C4::Search, should have been * serials/serials-edit.pl were also missing it Comments: * checked with for file in */*.pl; do perl -wc $file; done that no script was still having this problem --- C4/Search.pm | 1 + serials/serials-edit.pl | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index e86bb26..c4276a3 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -71,6 +71,7 @@ This module provides searching functions for Koha's bibliographic databases &AddSearchHistory &GetDistinctValues &BiblioAddAuthorities + &enabled_staff_search_views ); #FIXME: i had to add BiblioAddAuthorities here because in Biblios.pm it caused circular dependencies (C4::Search uses C4::Biblio, and BiblioAddAuthorities uses SimpleSearch from C4::Search) diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index 12f568c..1a60632 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -72,6 +72,7 @@ use C4::Koha; use C4::Output; use C4::Context; use C4::Serials; +use C4::Search qw/enabled_staff_search_views/; use List::MoreUtils qw/uniq/; my $query = CGI->new(); -- 1.7.5.4