https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7611
--- Comment #59 from Nick Clemens <[email protected]> --- (In reply to Marcel de Rooy from comment #58) > Sorry for posting on this old report, but it looks like (at least imo) that > this availability block still needs further attention: > > Availability line looks like: Block 1 (Alternate holdings) Block 2 (For loan > with callno) Block 3 (Reference block with callno) Block 4 (if with colon) > Block 5 (reallynotforloan with callno) Block 6 (list of other statuses) > > On order status is no longer set in C4/XSLT; the term reallynotforloan is > used now and is quite confusing to me? > Block 4 with the colon and the <br> in block 5 are dubious. > No big difference between block reference and block reallynotforloan. > > On the already opened bug 21260 I hope to provide some follow up work.. Clarifications: Before these patches all positive not for loan values were listed as 'Available for reference' and all negative not for loan were 'On order' After we separate 'Not for loan' items into: reallynotforloan - negative not for loan values reference - positive not for loan values Block 1: If no items available for loan and none for reference then we check the AlternateHoldingsField in the sysprefs to see if we should display items from there. Other we show 'No items available' Block 2: Available items - they don't have pending holds or waiting holds, they aren't in transit, damaged, lost, withdrawn, marked notforloan or checked out. This block includes the 'reference' items (you call these 2 blocks) they go into the <span class="available"> because we assume that these are still in the library and can be accessed Block 3: This if with colon is wrong - it should be part of block 1 or just removed- if there are no items available we say 'No items available' then add the colon, then list the unavailable items on a new line Block 4: Unavailable notforloan items (reallynotforloan) on a new line - the br has always been there to separate 'available' and 'unavailable' spans Block 5: List of other status, all under the 'unavailable' umbrella and same line as above -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
