View | Details | Raw Unified | Return to bug 27047
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-5 / +1 lines)
Lines 288-297 Link Here
288
                                [% SET can_delete_suggestion = 0 %]
288
                                [% SET can_delete_suggestion = 0 %]
289
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" id="search_suggestions_form" method="get">
289
                                <form action="/cgi-bin/koha/opac-suggestions.pl" class="form-inline" id="search_suggestions_form" method="get">
290
                                    <div class="form-row">
290
                                    <div class="form-row">
291
                                        <div class="col-auto my-1">
292
                                            <label class="sr-only" for="title">Search for:</label>
293
                                            <input class="form-control form-control-sm" type="text" name="title" placeholder="Search suggestions" id="title" value="[% title | html %]" />
294
                                        </div>
295
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
291
                                        [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]
296
                                            [% IF loggedinusername %]
292
                                            [% IF loggedinusername %]
297
                                                <div class="col-auto my-1">
293
                                                <div class="col-auto my-1">
Lines 484-489 Link Here
484
    $(function() {
480
    $(function() {
485
        $("#suggestt").dataTable($.extend(true, {}, dataTablesDefaults, {
481
        $("#suggestt").dataTable($.extend(true, {}, dataTablesDefaults, {
486
            "order": [[ 1, "asc" ]],
482
            "order": [[ 1, "asc" ]],
483
            "dom": '<"top"<"table_entries"><"table_controls"f>>t',
487
            "autoWidth": false,
484
            "autoWidth": false,
488
            "columnDefs": [
485
            "columnDefs": [
489
              [% IF ( loggedinusername ) %]{ "targets": [ 0 ], "sortable": false, "searchable": false }[% END %]
486
              [% IF ( loggedinusername ) %]{ "targets": [ 0 ], "sortable": false, "searchable": false }[% END %]
490
- 

Return to bug 27047