[Koha-bugs] [Bug 7847] OPAC search dies with plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 12 15:46:28 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7847

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Pushed to Master            |ASSIGNED
                 CC|                            |julian.maurice at biblibre.com

--- Comment #15 from Julian Maurice <julian.maurice at biblibre.com> ---
I reopen this bug since there is a problem removing 'use C4::Search' from
C4::Items.

C4::Items::GetAnalyticsCount needs C4::Search for SimpleSearch and NZanalyze.
In bug 7162, the patch modify DelOrder to use DelItemCheck instead of DelItem,
but it causes perl to die. This can be bypassed adding 'use C4::Search' in the
.pl file that call DelOrder, but I don't think it is the way to do it.

Looking at C4::Search, it seems that C4::Items is only used for
C4::Items::get_authorised_value_images, which is unrelated to items, so I think
this sub should be moved (probably in C4::Koha, with others authorised_value
related subs) so that C4::Search won't need C4::Items anymore.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list