Bug 35191 - Make entries per page configurable for items table on staff detail page
Summary: Make entries per page configurable for items table on staff detail page
Status: Needs documenting
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Jonathan Druart
QA Contact: Julian Maurice
URL:
Keywords:
: 37310 38074 (view as bug list)
Depends on: 33568
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-30 17:32 UTC by Katrin Fischer
Modified: 2024-11-08 14:44 UTC (History)
10 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Add an option, in the Tables page of the Administration module, to adjust how many items per page will display by default in the item holdings table on a bibliographic record.
Version(s) released in:
24.11.00,24.05.05
Circulation function:


Attachments
Bug 35191: Make entries per page configurable for items table on staff detail page (1.44 KB, patch)
2023-10-31 08:03 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 35191: Make entries per page configurable for items table on staff detail page (1.51 KB, patch)
2024-07-19 18:54 UTC, Emily Lamancusa (emlam)
Details | Diff | Splinter Review
Bug 35191: Make entries per page configurable for items table on staff detail page (1.57 KB, patch)
2024-09-06 13:26 UTC, Julian Maurice
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2023-10-30 17:32:03 UTC
The new API driven items view defaults to 20 per page. This is a bit low, it would be great if it could be configurable to a higher value per the table configuration.
Comment 1 Jonathan Druart 2023-10-31 08:03:54 UTC
Created attachment 158109 [details] [review]
Bug 35191: Make entries per page configurable for items table on staff detail page

The new API driven items view defaults to 20 per page. This is a bit low, it would be great if it could be configurable to a higher value per the table configuration.

Test plan:
1. Apply this patch
2. restart_all (memcached restart is required)
3. Go to Administration > Table settings
4. Catalogue > holdings_table | otherholdings_table
=> Notice the new "Default display length"
5. Select something else than 20
6. Go to the detail page of a record with lot of records
=> Notice that the default value defined in the settings is used.
Comment 2 Emily Lamancusa (emlam) 2024-07-19 18:54:02 UTC
Created attachment 169259 [details] [review]
Bug 35191: Make entries per page configurable for items table on staff detail page

The new API driven items view defaults to 20 per page. This is a bit low, it would be great if it could be configurable to a higher value per the table configuration.

Test plan:
1. Apply this patch
2. restart_all (memcached restart is required)
3. Go to Administration > Table settings
4. Catalogue > holdings_table | otherholdings_table
=> Notice the new "Default display length"
5. Select something else than 20
6. Go to the detail page of a record with lot of records
=> Notice that the default value defined in the settings is used.

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Comment 3 Julian Maurice 2024-09-06 13:26:55 UTC
Created attachment 171146 [details] [review]
Bug 35191: Make entries per page configurable for items table on staff detail page

The new API driven items view defaults to 20 per page. This is a bit low, it would be great if it could be configurable to a higher value per the table configuration.

Test plan:
1. Apply this patch
2. restart_all (memcached restart is required)
3. Go to Administration > Table settings
4. Catalogue > holdings_table | otherholdings_table
=> Notice the new "Default display length"
5. Select something else than 20
6. Go to the detail page of a record with lot of records
=> Notice that the default value defined in the settings is used.

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Comment 4 Katrin Fischer 2024-09-16 08:45:31 UTC
I like small patches :)
Comment 5 Katrin Fischer 2024-09-16 08:54:01 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 6 Nick Clemens (kidclamp) 2024-10-03 14:10:03 UTC
*** Bug 38074 has been marked as a duplicate of this bug. ***
Comment 7 Nick Clemens (kidclamp) 2024-10-03 17:14:50 UTC
*** Bug 37310 has been marked as a duplicate of this bug. ***
Comment 8 Lucas Gass (lukeg) 2024-10-09 19:52:34 UTC
Backported to 24.05.x for upcoming 24.05.05
Comment 9 Fridolin Somers 2024-10-21 13:17:44 UTC
Depends on Bug 33568 not in 23.11.x