Bugzilla – Attachment 7698 Details for
Bug 7546
Cannot view subscription detail - bareword error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 7546 follow-up, enabled_staff_search_views problem
bug-7546-follow-up-enabledstaffsearchviews-problem.patch (text/plain), 2.04 KB, created by
Paul Poulain
on 2012-02-16 17:08:55 UTC
(
hide
)
Description:
bug 7546 follow-up, enabled_staff_search_views problem
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-02-16 17:08:55 UTC
Size:
2.04 KB
patch
obsolete
>From c4de85fc2cd95e29b03ec28d6815dad5f013fc7e Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Thu, 16 Feb 2012 17:10:30 +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 >* cataloguing/additem.pl was missing use C4::Search >* 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 >* why this problem appears now is unclear to me. I understand it's related to de-nesting, but would be happy to have a complete explanation ! >--- > C4/Search.pm | 1 + > cataloguing/additem.pl | 1 + > serials/serials-edit.pl | 1 + > 3 files changed, 3 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/cataloguing/additem.pl b/cataloguing/additem.pl >index 248c0de..73727a2 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -31,6 +31,7 @@ use C4::Koha; # XXX subfield_is_koha_internal_p > use C4::Branch; # XXX subfield_is_koha_internal_p > use C4::ClassSource; > use C4::Dates; >+use C4::Search qw/enabled_staff_search_views/; > use List::MoreUtils qw/any/; > > use MARC::File::XML; >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7546
:
7665
|
7666
|
7677
|
7697
|
7698
|
7699
|
7701
|
7703