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

Julian Maurice <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Pushed to Master            |ASSIGNED
                 CC|                            |[email protected]

--- Comment #15 from Julian Maurice <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to