Bug 38177: Fix lengthMenu for components using KohaTable

EBSCO HoldingsIQ doesnt consider a "All" option so neither should we.
At the moment, if we pick 'All', only 100 are listed due to the logic in Providers/EBSCO/build_query_pagination.
The original code hints at trying to do this but its not working.
I think this got lost sometime during KohaTable.vue

This patch should also have the same entry for EHoldingsEBSCOTitlePackagesList but that isnt using KohaTable and for some reason its not picking up on either aLengthMenu or lengthMeny, always shows 'All'.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Pedro Amorim 2024-10-21 15:09:44 +00:00 committed by Katrin Fischer
parent 61b3aa2aa2
commit ca0e745c1d
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ export default {
embed: "title",
ordering: false,
dom: '<"top pager"<"table_entries"ilp>>tr<"bottom pager"ip>',
aLengthMenu: [
lengthMenu: [
[10, 20, 50, 100],
[10, 20, 50, 100],
],

View File

@ -116,7 +116,7 @@ export default {
embed: "resources+count,vendor.name",
ordering: false,
dom: '<"top pager"<"table_entries"ilp>>tr<"bottom pager"ip>',
aLengthMenu: [
lengthMenu: [
[10, 20, 50, 100],
[10, 20, 50, 100],
],

View File

@ -116,7 +116,7 @@ export default {
options: {
ordering: false,
dom: '<"top pager"<"table_entries"ilp>>tr<"bottom pager"ip>',
aLengthMenu: [
lengthMenu: [
[10, 20, 50, 100],
[10, 20, 50, 100],
],