From 16bd623638bafe1bddc6cb227a46bfe9cf6b46fb Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 17 Jun 2024 16:41:37 +0000 Subject: [PATCH] Bug 29079: Add author and publication details columns to holds queue To test: 1. Apply patch, restart_all 2. Add some holds and run the holds queue builder. 3. Go to the holds queue. 4. You should see less information in the 'Title' field. 5. You should see an 'Author' column, make sure it is sortable and the data is correct. 6. You should see a 'Publication details' column, that should also be sortable. Make sure the data is correct. 7. Each column, and all other in the holds queue table, should be column configurable via Table Settings. 8. Make sure you hide/show columns via Table settings. 9. Make sure the data can be exported correctly via tha Export button. --- admin/columns_settings.yml | 4 ++++ .../prog/en/modules/circ/view_holdsqueue.tt | 18 ++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 66586cef07..2f25f13123 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1657,6 +1657,10 @@ modules: columns: - columnname: title + - + columnname: author + - + columnname: pubdetails - columnname: holdingbranch is_hidden: 1 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index 49f2342125..01d81ac578 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -77,6 +77,8 @@ Title + Author + Publication details Current library Home library Collection @@ -97,6 +99,16 @@ + + + + + + + + + + @@ -171,9 +183,11 @@ [% INCLUDE 'biblio-title.inc' biblio=itemsloo.biblio link = 1 %]

[% itemsloo.biblionumber | html %]
-
[% itemsloo.biblio.author | html %]
- [% IF ( itemsloo.biblio.biblioitem.editionstatement ) %]
[% itemsloo.biblio.biblioitem.editionstatement | html %]
[% END %] + + [% itemsloo.biblio.author | html %] +
+ [% IF ( itemsloo.biblio.biblioitem.editionstatement ) %]
[% itemsloo.biblio.biblioitem.editionstatement | html %]
[% END %] [% IF ( itemsloo.biblio.biblioitem.publishercode ) %][% itemsloo.biblio.biblioitem.publishercode | html %][% END %] [% IF ( itemsloo.biblio.biblioitem.publicationyear ) %] -- 2.39.2