https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17624
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57540|0 |1 is obsolete| | Attachment #57541|0 |1 is obsolete| | --- Comment #9 from Marcel de Rooy <[email protected]> --- Created attachment 57833 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57833&action=edit Bug 17624: Separate XSLT item status for Staff Collection In order to differentiate a regular not for loan with a not-for-loan that has the status "Staff Collection", this patch slightly adjusts the status in C4::XSLT::buildKohaItemsNamespace. This status is used in the OPAC results XSLT. If you do not have items with notforloan>=2, there will be no change in behavior. If you use notforloan=2 and did not change its authorised value description, a count for Staff Collection will be added in the Availability line. The items with notforloan==2 will no longer be viewed as "for reference". Higher values for notforloan will no longer be listed too as "for reference". (Same for a modified notforloan==2.) Note: I also considered using a plugin here or a specific preference. This solution is by far the simplest. Currently, we are presenting the item status in various places on various ways. A better solution would depend on consolidating the item status code in Koha::Item. Test plan: [1] Pick a biblio with three items: one should be for loan, set the other two to Not for loan and Staff Collection. [2] Look for this biblio on OPAC search results. Check Availability. -- 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/
