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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+6 lines)
Lines 398-403 aside { Link Here
398
            & + .action {
398
            & + .action {
399
                background-color: #FFF;
399
                background-color: #FFF;
400
                display: flex;
400
                display: flex;
401
                gap: .5rem;
401
                margin-left: 0;
402
                margin-left: 0;
402
                padding: 1rem;
403
                padding: 1rem;
403
404
Lines 406-411 aside { Link Here
406
                a {
407
                a {
407
                    display: block;
408
                    display: block;
408
                    flex-grow: 1;
409
                    flex-grow: 1;
410
411
                    &.clear_search {
412
                        flex-grow: 0;
413
                        flex-shrink: 1;
414
                    }
409
                }
415
                }
410
            }
416
            }
411
        }
417
        }
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-4 / +4 lines)
Lines 105-114 Link Here
105
                        [% END %]
105
                        [% END %]
106
                    [% END %]
106
                    [% END %]
107
                </ol>
107
                </ol>
108
                <fieldset class="action">
108
            </fieldset>
109
                    <input type="submit" class="btn btn-primary" value="Search" />
109
            <fieldset class="action">
110
                    <input type="button" value="Clear" class="btn btn-default clear_search" />
110
                <input type="submit" class="btn btn-primary" value="Search" />
111
                </fieldset>
111
                <input type="button" value="Clear" class="btn btn-default clear_search" />
112
            </fieldset>
112
            </fieldset>
113
        </form>
113
        </form>
114
    </aside>
114
    </aside>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt (-1 / +4 lines)
Lines 234-240 Link Here
234
                <option value="100">100</option>
234
                <option value="100">100</option>
235
                </select></li>
235
                </select></li>
236
        </ol>
236
        </ol>
237
        <fieldset class="action"><input type="submit" class="btn btn-default" value="Filter" /> <a href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | uri %]">Clear</a></fieldset>
237
    </fieldset>
238
    <fieldset class="action">
239
        <input type="submit" class="btn btn-primary" value="Filter" />
240
        <a class="btn btn-default clear_search" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | uri %]">Clear</a>
238
    </fieldset>
241
    </fieldset>
239
</form>
242
</form>
240
</aside>
243
</aside>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-4 / +4 lines)
Lines 108-117 Link Here
108
                                    <input type="text" name="illfilter_patron" id="illfilter_patron" />
108
                                    <input type="text" name="illfilter_patron" id="illfilter_patron" />
109
                                </li>
109
                                </li>
110
                            </ol>
110
                            </ol>
111
                            <fieldset class="action">
111
                        </fieldset>
112
                                <input type="submit" class="btn btn-primary" value="Search" />
112
                        <fieldset class="action">
113
                                <input type="button" value="Clear" id="clear_search" />
113
                            <input type="submit" class="btn btn-primary" value="Search" />
114
                            </fieldset>
114
                            <input type="button" value="Clear" class="clear_search" />
115
                        </fieldset>
115
                        </fieldset>
116
                    </form> <!-- /#illfilter_form -->
116
                    </form> <!-- /#illfilter_form -->
117
                </aside>
117
                </aside>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +1 lines)
Lines 1491-1497 Link Here
1491
                            </fieldset> <!-- /.brief -->
1491
                            </fieldset> <!-- /.brief -->
1492
                            <fieldset class="action">
1492
                            <fieldset class="action">
1493
                                <input type="submit" class="btn btn-primary" value="Apply filter" />
1493
                                <input type="submit" class="btn btn-primary" value="Apply filter" />
1494
                                <a id="resetReportsFilter" href="/cgi-bin/koha/reports/guided_reports.pl?op=list&clear_filters=1">Clear</a>
1494
                                <a class="btn btn-default clear_search" id="resetReportsFilter" href="/cgi-bin/koha/reports/guided_reports.pl?op=list&clear_filters=1">Clear</a>
1495
                            </fieldset>
1495
                            </fieldset>
1496
                        </form>
1496
                        </form>
1497
                    </div> <!-- /#saved-reports-filter -->
1497
                    </div> <!-- /#saved-reports-filter -->
(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js (-2 / +1 lines)
Lines 608-614 $(document).ready(function() { Link Here
608
    populateBackendFilter();
608
    populateBackendFilter();
609
609
610
    // Clear all filters
610
    // Clear all filters
611
    $('#clear_search').click(function() {
611
    $('.clear_search').click(function() {
612
        clearSearch();
612
        clearSearch();
613
    });
613
    });
614
614
615
- 

Return to bug 38350