Bug 40086 - Table settings for Article Requests tables
Summary: Table settings for Article Requests tables
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-05 23:14 UTC by Eric Phetteplace
Modified: 2025-06-29 23:02 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement adds table configuration options to the article request tables (Circulation > Patron request > Article requests). You can now choose the columns to show, copy the shareable link, and configure the default columns (columns to hide by default, columns that can't be changed, and set the default sort order).
Version(s) released in:
Circulation function:


Attachments
Bug 40086: Table settings for Article Requests tables (9.52 KB, patch)
2025-06-25 14:55 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 40086: Table settings for Article Requests tables (9.57 KB, patch)
2025-06-29 23:00 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Phetteplace 2025-06-05 23:14:46 UTC
The various tables for Article Requests in new, pending, and processing states are all quite long yet not included in the Table Settings admin feature. It would be nice to be able to control which fields display, to hide information that's not used or less relevant to article requests.
Comment 1 Owen Leonard 2025-06-25 14:55:19 UTC
Created attachment 183508 [details] [review]
Bug 40086: Table settings for Article Requests tables

This patch adds table settings for the three tables on the article
requests page in the staff interface: New, Pending, and Processing. The
patch also disables sorting on the checkbox column and adds "anti-the"
sorting to the title column.

To test, apply the patch and restart services.

- If necessary, enable article requests in at least one rule in
  Circulation and Fine Rules.
- If there are no article requests in your system, log in to the OPAC as
  a user who can place article requests and submit multiple requests for
  various titles.
- Go to Circulation -> Article requests
- If there are no requests under the "Pending" and "Processing" tables,
  use the "Actions" menu to set some as pending and some as processing.
- Test the "Columns" menu for each table, confirming that the correct
  columns are shown or hidden according to your selections.
- Test sorting of the "Title" column to confirm that articles are
  ignored in sorting.
- Go to Administration -> Table settings -> Circulation -> Article
  requests and try making various changes to the default configuration.
- Return to the Article requests page to confirm that your selections
  are reflected there*
  * You may need to delete the table settings in local storage in order
    for the default table settings to be shown. In Firefox DevTools look
    under the "Storage" tab -> Local storage -> Delete all.

Sponsored-by: Athens County Public Libraries
Comment 2 David Nind 2025-06-29 23:00:54 UTC
Created attachment 183637 [details] [review]
Bug 40086: Table settings for Article Requests tables

This patch adds table settings for the three tables on the article
requests page in the staff interface: New, Pending, and Processing. The
patch also disables sorting on the checkbox column and adds "anti-the"
sorting to the title column.

To test, apply the patch and restart services.

- If necessary, enable article requests in at least one rule in
  Circulation and Fine Rules.
- If there are no article requests in your system, log in to the OPAC as
  a user who can place article requests and submit multiple requests for
  various titles.
- Go to Circulation -> Article requests
- If there are no requests under the "Pending" and "Processing" tables,
  use the "Actions" menu to set some as pending and some as processing.
- Test the "Columns" menu for each table, confirming that the correct
  columns are shown or hidden according to your selections.
- Test sorting of the "Title" column to confirm that articles are
  ignored in sorting.
- Go to Administration -> Table settings -> Circulation -> Article
  requests and try making various changes to the default configuration.
- Return to the Article requests page to confirm that your selections
  are reflected there*
  * You may need to delete the table settings in local storage in order
    for the default table settings to be shown. In Firefox DevTools look
    under the "Storage" tab -> Local storage -> Delete all.

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2025-06-29 23:02:13 UTC
Testing notes (using KTD):

1. Enable the ArticleRequests system preference.