The OpacItemLocation preference currently has three choices: - location: location - ccode: "collection code" - callnum: "call number only" I propose that we clarify the labels for these options and add a new one: - location: "library, location, and call number" - ccode: "library, collection code, and call number" - callnum: "library and call number" - library: "only library" The "only library" option would provide an option which was previously only available in the non-XSLT view via the "don't show" option under the "OPACItemsResultsDisplay" : "Availability: Items available for loan: Athens (2), Nelsonville (1)." If this change is acceptable we can WONTFIX Bug 5229 and create a bug to remove the OpacItemsResultsDisplay preference.
Created attachment 106262 [details] [review] Bug 25871: Add "only library" to OpacItemLocation options This patch adds a new option to the OpacItemLocation system preference, "only library." It also rewords the descriptions of the existing options in order to make their use more clear. To test, apply the patch and make sure your OPACXSLTResultsDisplay system preference is set to "default." Test the OPAC search results using each of the OpacItemLocation preference options: - location: "library, location, and call number," e.g. "Availability: Items available for loan: Athens (1). Location(s): Athens new book shelf Call number: JNF 952.025 Bl." - ccode: "library, collection code, and call number," e.g. "Availability: Items available for loan: Athens (1). Collection(s): Juvenile non-fiction Call number: JNF 952.025 Bl." - callnum: "library and call number," e.g. "Availability: Items available for loan: AthensCall number: JNF 952.025 Bl (1)." - library: "only library," e.g." "Availability: Items available for loan: Athens (1)."
Created attachment 107443 [details] [review] 0001-Bug-25871-Add-only-library-to-OpacItemLocation-optio.patch Work OK. This patch adds a new option to the OpacItemLocation system preference, "only library." It also rewords the descriptions of the existing options in order to make their use more clear. To test, apply the patch and make sure your OPACXSLTResultsDisplay system preference is set to "default." Test the OPAC search results using each of the OpacItemLocation preference options: - location: "library, location, and call number," e.g. "Availability: Items available for loan: Athens (1). Location(s): Athens new book shelf Call number: JNF 952.025 Bl." - ccode: "library, collection code, and call number," e.g. "Availability: Items available for loan: Athens (1). Collection(s): Juvenile non-fiction Call number: JNF 952.025 Bl." - callnum: "library and call number," e.g. "Availability: Items available for loan: AthensCall number: JNF 952.025 Bl (1)." - library: "only library," e.g." "Availability: Items available for loan: Athens (1)."
Created attachment 107723 [details] [review] Bug 25871: Add "only library" to OpacItemLocation options This patch adds a new option to the OpacItemLocation system preference, "only library." It also rewords the descriptions of the existing options in order to make their use more clear. To test, apply the patch and make sure your OPACXSLTResultsDisplay system preference is set to "default." Test the OPAC search results using each of the OpacItemLocation preference options: - location: "library, location, and call number," e.g. "Availability: Items available for loan: Athens (1). Location(s): Athens new book shelf Call number: JNF 952.025 Bl." - ccode: "library, collection code, and call number," e.g. "Availability: Items available for loan: Athens (1). Collection(s): Juvenile non-fiction Call number: JNF 952.025 Bl." - callnum: "library and call number," e.g. "Availability: Items available for loan: AthensCall number: JNF 952.025 Bl (1)." - library: "only library," e.g." "Availability: Items available for loan: Athens (1)." Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Created attachment 107724 [details] [review] Bug 25871: (QA follow-up) Update syspref
Pushed to master for 20.11, thanks to everybody involved!
not backporting enhancement to 20.05.x series