Bug 38074 - It should be possible to define the default size of the holdings table on the details page
Summary: It should be possible to define the default size of the holdings table on the...
Status: RESOLVED DUPLICATE of bug 35191
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Nick Clemens (kidclamp)
QA Contact: Testopia
URL:
Keywords:
Depends on: 33568
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-03 13:15 UTC by Nick Clemens (kidclamp)
Modified: 2024-10-03 14:10 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 38074: Add HoldingsTableDefaultLength system preference (4.58 KB, patch)
2024-10-03 13:48 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2024-10-03 13:15:37 UTC
Some systems may want to see more than 20 items by default on the holdings table - say a consortium with 25 members.

It should be possible to configure the default page length
Comment 1 Nick Clemens (kidclamp) 2024-10-03 13:48:55 UTC
Created attachment 172340 [details] [review]
Bug 38074: Add HoldingsTableDefaultLength system preference

This patch adds anew preference to allow determining the default number of items shown on the details page.

To test:
 1 - Add 100 items to a bib record
 2 - View the holdings tab on the details page
 3 - NOte default of 20 shown
 4 - Apply patch, update database
 5 - Reload the page (clear cache), no change
 6 - Set new system preference HoldingsTableDefaultLength to 32
 7 - Reload page, note 32 items loaded, dropdown of results per page includes 32
 8 - Set pref to 50
 9 - Reload page, 50 items displayed, dropdown set to 50
10 - Set pref to -1
11 - Reload page, all items displayed
12 - Set pref to 100
13 - Reload page, 100 items displayed, no page dropdown
     (This is a bug but seems to be present before this patch as well)
Comment 2 Nick Clemens (kidclamp) 2024-10-03 14:05:21 UTC
Hah, we have this feature in column settings - a bit more granularity could be nice, but closing this
Comment 3 Nick Clemens (kidclamp) 2024-10-03 14:10:03 UTC

*** This bug has been marked as a duplicate of bug 35191 ***