Bug 16721 - Add table configuration to serial claims table
Summary: Add table configuration to serial claims table
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Kyle M Hall (khall)
URL:
Keywords:
: 30872 (view as bug list)
Depends on: 37094
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-13 16:15 UTC by Katrin Fischer
Modified: 2025-05-14 16:51 UTC (History)
7 users (show)

See Also:
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:


Attachments
Screenshot of serial claims table (96.43 KB, image/png)
2021-01-08 18:02 UTC, Caroline Cyr La Rose
Details
Bug 16721: Add table configuration to serial claims table (9.80 KB, patch)
2024-06-24 17:59 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 16721: Add table configuration to serial claims table (9.85 KB, patch)
2024-08-06 08:29 UTC, PTFS Europe Sandboxes
Details | Diff | Splinter Review
Bug 16721: Add table configuration to serial claims table (9.65 KB, patch)
2024-12-16 20:21 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 16721: Add table configuration to serial claims table (9.66 KB, patch)
2025-02-13 13:02 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 16721: Add table configuration to serial claims table (7.44 KB, patch)
2025-03-04 13:13 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 16721: Add table configuration to serial claims table (3.74 KB, patch)
2025-05-14 16:51 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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>