]> git.koha-community.org Git - koha.git/commit
Bug 7546 - cannot view subscription detail
authorLiz Rea <wizzyrea@gmail.com>
Wed, 15 Feb 2012 20:13:49 +0000 (14:13 -0600)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 02:00:29 +0000 (21:00 -0500)
commitf6c55445ed2ef6fe5eaf99831b9ec180d12707ec
tree712ff7837e2203b579c1be964cdf0683c36272a2
parent0e53191ad686a58f2595dc4ecbe8c73566c93c0f
Bug 7546 - cannot view subscription detail

This patch adds a C4::Search to subscription-detail.pl to compensate for a removed
one from auth.pm during the denesting effort.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Bug 7546 Do not call routine as bareword

Fixes compilation errors due to calling routine without parens
Also nothing was gained (and obfuscation added) by forcing
the return into a hash ref have changed variable to hash
tidied up the if else chain

These routines should be refactored out future

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
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

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Final sign off for all 3 patches
Note: I had some problems with tests, but it is probably related to my data and not this patch.
(cherry picked from commit 1ddc9322dfc13ef7f1e930692bfd2cb3771b102b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Search.pm
serials/serials-edit.pl
serials/subscription-detail.pl