[Koha-bugs] [Bug 6488] opachiddenitems not working in master
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 17 20:32:29 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6488
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jcamins at cpbibliography.com
--- Comment #43 from Jared Camins-Esakov <jcamins at cpbibliography.com> 2012-02-17 19:32:29 UTC ---
(In reply to comment #42)
> Its these lines here
>
> + next if $is_opac && $hideatopac_count >= $items_count;
> + next if $hidelostitems && $itemlost_count >= $items_count;
> +
>
> That are the problem. Means that if its opac, and the counts are both 0 (ie
> record with no items) its skipped.
>
> At least I think that is what the problem is, it is saturday morning and I
> havent had coffee yet so someone else looking would be good
I can confirm that those two lines are the problem. What I'm not sure about is
why there isn't an:
if ($items_count > 0) { ... } around it.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list