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:
parent
61b3aa2aa2
commit
ca0e745c1d
|
|
@ -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],
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue