Bug 35191

Summary: Make entries per page configurable for items table on staff detail page
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Staff interfaceAssignee: Jonathan Druart <jonathan.druart>
Status: Needs documenting --- QA Contact: Julian Maurice <julian.maurice>
Severity: enhancement    
Priority: P5 - low CC: emily.lamancusa, fridolin.somers, gmcharlt, jonathan.druart, julian.maurice, kebliss, lucas, mspinney, nick, rcoert
Version: Main   
Hardware: All   
OS: All   
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:
Bug Depends on: 33568    
Bug Blocks:    
Attachments: Bug 35191: Make entries per page configurable for items table on staff detail page
Bug 35191: Make entries per page configurable for items table on staff detail page
Bug 35191: Make entries per page configurable for items table on staff detail page

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