From 35f70445834db8aa24e64331e6883147cbcb2ed0 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. Signed-off-by: Brendan Lawlor Signed-off-by: Kyle M Hall --- 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 f911f099c37..7b9934485bc 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1683,6 +1683,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 cabae9b64f0..ae74a101ffc 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 @@ -98,6 +100,16 @@ + + + + + + + + + + @@ -177,9 +189,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.5 (Apple Git-154)