[Koha-bugs] [Bug 24156] Basket - Make sort order and number of items to display configurable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 19 11:05:17 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24156

--- Comment #42 from Alex Arnaud <alex.arnaud at biblibre.com> ---
Comment on attachment 105828
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105828
Bug 24156: Make sort order and number of items to display configurable (basket
page)

Review of attachment 105828:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=24156&attachment=105828)
-----------------------------------------------------------------

::: C4/Utils/DataTables/TablesSettings.pm
@@ +59,4 @@
>      return $columns;
>  }
>  
> +sub get_table_settings {

No pod covering

::: koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt
@@ +4,3 @@
>  [% SET footerjs = 1 %]
>  [% SET panel_id = 0 %]
> +[% USE Dumper %]

Debug thing ?

@@ +100,5 @@
> +                                        <select name="[% table_id | html %]_default_display_length">
> +                                            [% IF table_settings.default_display_length == 10 %]
> +                                                <option value="10" selected="selected">10</option>
> +                                            [% ELSE %]
> +                                            [% END %]

This makes the "10" option never visible

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list