The OPAC holdings table always has a column for Due Date even if all items are available or all items are not for loan. The Column Due Date should only appear if items on loan exist.
Created attachment 170068 [details] [review] Bug 34486: Show OPAC Column Due Date only if items on loan exist This patch updates the OPAC bibliographic detail page so that in the holdings table, the following columns are hidden if they contain no data: Call number, date due, materials, checkouts, barcode, and item-level holds. To test, apply the patch and restart services. - In the staff interface, go to Administration -> System preferences. - Search for OPACShowHoldQueueDetails and set it to "Show holds and their priority level." - Search for OPACShowHoldQueueDetails and set it to "Show holds and their priority level." - In the OPAC, locate a bibliographic record with multiple items. - View the detail page and confirm that the holdings table doesn't show these columns if there is no data in any of the rows: Call number, date due, materials, barcode, and item-level holds - For each of the affected fields, update the record the record so that there is data to be shown for at least one of the items: - Edit an item to add: call number, materials specified, barcode - Check out an item to someone in order to show the date due column - Place an item-level hold on one of the items to show the item holds column. - Go to Administration -> Table settings -> OPAC -> biblio-detail and configure some columns to be hidden by default. Confirm that your changes are correctly shown in the OPAC holdings table. Sponsored-by: Athens County Public Libraries
Created attachment 170073 [details] [review] Bug 34486: Show OPAC Column Due Date only if items on loan exist This patch updates the OPAC bibliographic detail page so that in the holdings table, the following columns are hidden if they contain no data: Call number, date due, materials, checkouts, barcode, and item-level holds. To test, apply the patch and restart services. - In the staff interface, go to Administration -> System preferences. - Search for OPACShowHoldQueueDetails and set it to "Show holds and their priority level." - Search for OPACShowHoldQueueDetails and set it to "Show holds and their priority level." - In the OPAC, locate a bibliographic record with multiple items. - View the detail page and confirm that the holdings table doesn't show these columns if there is no data in any of the rows: Call number, date due, materials, barcode, and item-level holds - For each of the affected fields, update the record the record so that there is data to be shown for at least one of the items: - Edit an item to add: call number, materials specified, barcode - Check out an item to someone in order to show the date due column - Place an item-level hold on one of the items to show the item holds column. - Go to Administration -> Table settings -> OPAC -> biblio-detail and configure some columns to be hidden by default. Confirm that your changes are correctly shown in the OPAC holdings table. Sponsored-by: Athens County Public Libraries Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Great enhancement, thanks!
Created attachment 170587 [details] [review] Bug 34486: Show OPAC Column Due Date only if items on loan exist This patch updates the OPAC bibliographic detail page so that in the holdings table, the following columns are hidden if they contain no data: Call number, date due, materials, checkouts, barcode, and item-level holds. To test, apply the patch and restart services. - In the staff interface, go to Administration -> System preferences. - Search for OPACShowHoldQueueDetails and set it to "Show holds and their priority level." - Search for OPACShowHoldQueueDetails and set it to "Show holds and their priority level." - In the OPAC, locate a bibliographic record with multiple items. - View the detail page and confirm that the holdings table doesn't show these columns if there is no data in any of the rows: Call number, date due, materials, barcode, and item-level holds - For each of the affected fields, update the record the record so that there is data to be shown for at least one of the items: - Edit an item to add: call number, materials specified, barcode - Check out an item to someone in order to show the date due column - Place an item-level hold on one of the items to show the item holds column. - Go to Administration -> Table settings -> OPAC -> biblio-detail and configure some columns to be hidden by default. Confirm that your changes are correctly shown in the OPAC holdings table. Sponsored-by: Athens County Public Libraries Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Created attachment 170588 [details] [review] Bug 34486: (QA follow-up) Tidy changes to opac/opac-detail.pl
Fixed QA tool complaint: FAIL t/db_dependent/Koha/Installer.t FAIL file permissions File must have the exec flag
Pushed for 24.11! Well done everyone, thank you!