Bug 16721

Summary: Add table configuration to serial claims table
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: Signed Off --- QA Contact: Kyle M Hall (khall) <kyle>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, clemens.tubach, koha, kyle, lucas, marjorie.barry-vila, michaela.sieber
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 37094    
Bug Blocks:    
Attachments: Screenshot of serial claims table
Bug 16721: Add table configuration to serial claims table
Bug 16721: Add table configuration to serial claims table
Bug 16721: Add table configuration to serial claims table
Bug 16721: Add table configuration to serial claims table
Bug 16721: Add table configuration to serial claims table
Bug 16721: Add table configuration to serial claims table

Description Katrin Fischer 2016-06-13 16:15:21 UTC
The serial claims table gets far too wide, especially when new subscription fields are added to it. It should be possible to configure if those display or not, but it also looks like a general problem.
Comment 1 Owen Leonard 2020-01-22 00:31:21 UTC
This bug faces the same obstacle Bug 23565 does: The jquery.dataTables.columnFilter.js plugin doesn't play well with columns configuration. I wonder if it would be an acceptable alternative to move the filter fields into the sidebar?
Comment 2 Katrin Fischer 2020-01-22 06:49:26 UTC
(In reply to Owen Leonard from comment #1)
> This bug faces the same obstacle Bug 23565 does: The
> jquery.dataTables.columnFilter.js plugin doesn't play well with columns
> configuration. I wonder if it would be an acceptable alternative to move the
> filter fields into the sidebar?

I am not a fan of the filters on the columns as the 'sample text' inside often is squashed, especially after translation. We often have filters on the side - I think that could work. We also have the additional fields on subscriptions showing up in the side filters - so maybe similar here?
Comment 3 Caroline Cyr La Rose 2021-01-08 18:02:02 UTC
Created attachment 114974 [details]
Screenshot of serial claims table
Comment 4 Caroline Cyr La Rose 2021-01-08 18:03:10 UTC
I wanted to redo the screenshot for the manual, but I noticed how wide it is. I think this is outside of table configuration...
Comment 5 Owen Leonard 2024-06-14 13:41:21 UTC
*** Bug 30872 has been marked as a duplicate of this bug. ***
Comment 6 Owen Leonard 2024-06-24 17:59:26 UTC Comment hidden (obsolete)
Comment 7 PTFS Europe Sandboxes 2024-08-06 08:29:02 UTC Comment hidden (obsolete)
Comment 8 Michaela Sieber 2024-08-06 08:32:37 UTC
Just a small note: there should be a reload of the page if a notice was sent or a download of the csv file was made. Otherwise you can not see that the claim date and the claims count was updated.
Comment 9 Owen Leonard 2024-12-16 20:21:36 UTC Comment hidden (obsolete)
Comment 10 Owen Leonard 2025-02-13 13:02:08 UTC Comment hidden (obsolete)
Comment 11 Lucas Gass (lukeg) 2025-02-27 18:35:57 UTC
Applying: Bug 16721: Add table configuration to serial claims table
error: sha1 information is lacking or useless (koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt).
error: could not build fake ancestor
Patch failed at 0001 Bug 16721: Add table configuration to serial claims table
Comment 12 Owen Leonard 2025-03-04 13:13:09 UTC
Created attachment 178915 [details] [review]
Bug 16721: Add table configuration to serial claims table

This patch adds table configuration options to the serial claims table,
including the option to set a default sort column.

The patch also moves the table column filter row to the top, which I
think is more standard in the staff interface.

To test, apply the patch and restart services.

- You'll need to have subscription issues which are missing, claimed, or
  late.
- Go to Serials -> Claims, and select a vendor.
- In the table of missing issues, confirm that all DataTable controls
  work correctly: Column visibility, export, and configuration options.
- Confirm that you can use Administration -> Table settings -> Serials
  -> Claims to hide columns by default or set the default order.
- Confirm that the column header filter forms work correctly.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Comment 13 Owen Leonard 2025-05-14 16:51:21 UTC
Created attachment 182460 [details] [review]
Bug 16721: Add table configuration to serial claims table

This patch adds table configuration options to the serial claims table,
including the option to set a default sort column.

The patch also moves the table column filter row to the top, which I
think is more standard in the staff interface.

To test, apply the patch and restart services.

- You'll need to have subscription issues which are missing, claimed, or
  late.
- Go to Serials -> Claims, and select a vendor.
- In the table of missing issues, confirm that all DataTable controls
  work correctly: Column visibility, export, and configuration options.
- Confirm that you can use Administration -> Table settings -> Serials
  -> Claims to hide columns by default or set the default order.
- Confirm that the column header filter forms work correctly.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>