https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26302 --- Comment #27 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 122487 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122487&action=edit Bug 26302: (follow-up) Handle zero callnumbers-case As David observed while testing, we should differentiate between the pref value 1 and 0 (or undef). This patch does no longer convert the value to 1 as default. And it removes an empty [ Call number: ] suffix. Test plan: Set resultsMaxItems or ..Unavailable to zero and check search results. Verify that you see something like: Availability: Items available for loan: Centerville (3) . Items available for reference: Centerville Staff Collection (1) . Not available: TEST (2). MOVING (1). Withdrawn (2). Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.