Bugzilla – Attachment 179726 Details for
Bug 39448
Layout improvement for search filter administration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39448: Layout improvement for search filter administration
Bug-39448-Layout-improvement-for-search-filter-adm.patch (text/plain), 4.18 KB, created by
Owen Leonard
on 2025-03-26 12:31:45 UTC
(
hide
)
Description:
Bug 39448: Layout improvement for search filter administration
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-03-26 12:31:45 UTC
Size:
4.18 KB
patch
obsolete
>From 718b6d5c063b6d88e3aa691f3ea75f637066a531 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 21 Mar 2025 16:57:37 +0000 >Subject: [PATCH] Bug 39448: Layout improvement for search filter > administration > >This patch makes a few minor changes to the search filter administration >template. > >To test, apply the patch and rebuild the staff interface CSS. > >- If the SavedSearchFilters system preference is not enabled, go to > Administration -> System preferences and enable it. >- Perform a catalog search. > - From the search results page, click "Save as search filter" at the > top of the results. > - Save your filter. >- Go to Administration -> Search filters. > - The table of filters should be wrapped in a "page-section" div with > the heading above it. > - In the "Actions" column the buttons should be aligned in a row with > space between each. > - Click "Edit filter" > - In the modal the form fields should be well laid out. > >Sponsored-by: Athens County Public Libraries >--- > .../prog/css/src/staff-global.scss | 10 ++++++++++ > .../prog/en/modules/admin/search_filters.tt | 20 +++++++++---------- > 2 files changed, 20 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index d8a1d8aca37..d55a8ec773f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -2221,6 +2221,16 @@ li { > td { > &.actions { > white-space: nowrap; >+ >+ a, >+ button { >+ display: inline-block; >+ margin-left: .3rem; >+ >+ &:first-child { >+ margin-left: 0; >+ } >+ } > } > > &.bookcoverimg { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/search_filters.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/search_filters.tt >index f822751a8fa..1aea30fc4ee 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/search_filters.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/search_filters.tt >@@ -30,11 +30,9 @@ > [% END #/ WRAPPER sub-header.inc %] > > [% WRAPPER 'main-container.inc' aside='admin-menu' %] >- >+ <h1>Search filters</h1> > [% IF filters_count %] >- <div id="search_filters_list"> >- <h2>Search filters</h2> >- >+ <div id="search_filters_list" class="page-section"> > <table id="search_filters_table"> > <thead> > <tr> >@@ -44,7 +42,7 @@ > <th>Limits</th> > <th>OPAC</th> > <th>Staff interface</th> >- <th> </th> >+ <th data-class-name="actions noExport">Actions</th> > </tr> > </thead> > </table> >@@ -62,14 +60,16 @@ > <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> > </div> > <div class="modal-body"> >- <div class="form-group"> >+ <div class="mb-3"> > <input type="hidden" id="filter_edit_id" name="filter_edit_id" /> > <label for="filter_edit_name">Name:</label> > <input id="filter_edit_name" name="filter_edit_name" type="text" /> >- <label for="filter_edit_opac">Show in OPAC?</label> >- <input type="checkbox" id="filter_edit_opac" name="filter_edit_opac" /> >- <label for="filter_edit_staff_client">Show in staff interface?</label> >- <input type="checkbox" id="filter_edit_staff_client" name="filter_edit_staff_client" /> >+ </div> >+ <div class="mb-3"> >+ <label for="filter_edit_opac"><input type="checkbox" id="filter_edit_opac" name="filter_edit_opac" /> Show in OPAC?</label> >+ </div> >+ <div class="mb-3"> >+ <label for="filter_edit_staff_client"><input type="checkbox" id="filter_edit_staff_client" name="filter_edit_staff_client" /> Show in staff interface?</label> > </div> > </div> > <div class="modal-footer"> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39448
:
179726
|
180327
|
183707