Bug 38108 - Staff interface holdings table - table navigation only shows when "Show filters" is selected
Summary: Staff interface holdings table - table navigation only shows when "Show filte...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 38071
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-07 19:52 UTC by David Nind
Modified: 2024-10-08 14:12 UTC (History)
2 users (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

Note You need to log in before you can comment on or make changes to this bug.
Description David Nind 2024-10-07 19:52:05 UTC
In current main (October 2024), the holdings table for a record in the staff interface does not show the standard DataTable navigation elements until "Show filters" is clicked.

I think that the standard table navigation elements should be shown by default.

To replicate:

1. Go to a record in the staff interface with multiple items (for example record 146, The definitive guide to Catalyst : writing extensible, scalable, and maintainable Perl-based Web applications <staffinterfaceurl>/cgi-bin/koha/catalogue/detail.pl?biblionumber=146).

2. In the holdings table section, note that you have to click on "Show filters" for the standard table navigation elements to display:

   Showing 1 to 4 of 4 entries
   -------------------------------------
   Show 20 entries First Previous Next Last Search: _______ Clear filter
   ....

Other notes:
1. Behavour for previous versions - note that before 24.05.00 and bug 33568, all items were shown without any pagination, even for hundreds of items:
   . 24.05.00: navigation only shown once "Show filters" is clicked
   . 23.11.06: partial table navigation "Showing 1 of 1 entries Search______ Clear filter"
   . 23.05.14: the same as 23.11.06
2. Bug 33568 - Use the REST API to display items on the staff biblio detail view: totally rewrote the display of the items table
Comment 1 Jonathan Druart 2024-10-08 14:12:26 UTC
It is displayed if needed.

The idea here is to keep the UI as minimal as possible.
If length is 20 and you have <= 20 items, the pagination won't be displayed.

If you have more, the pagination will be displayed even if "Show filters" is not clicked.