Bugzilla – Attachment 67334 Details for
Bug 19348
Title column in item search is too narrow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19348: Title column in item search is too narrow
Bug-19348-Title-column-in-item-search-is-too-narro.patch (text/plain), 3.48 KB, created by
Dominic Pichette
on 2017-09-22 19:29:49 UTC
(
hide
)
Description:
Bug 19348: Title column in item search is too narrow
Filename:
MIME Type:
Creator:
Dominic Pichette
Created:
2017-09-22 19:29:49 UTC
Size:
3.48 KB
patch
obsolete
>From f27ff346b6eb14ceae0d4c81e556afe85dfbed7f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 20 Sep 2017 13:21:27 +0000 >Subject: [PATCH] Bug 19348: Title column in item search is too narrow > >This patch adds IDs to the item search results table header so that >columns can be targeted by CSS or JS. The CSS for the item search page >has been modified to give the title column a minimum width. > >To test, apply the patch and clear your browser cache if necessary. >Perform an item search and confirm that the title column stays at a >reasonable width. > >Signed-off-by: Dominic Pichette <dominic@inlibro.com> >--- > .../intranet-tmpl/prog/css/itemsearchform.css | 4 ++++ > .../prog/en/modules/catalogue/itemsearch.tt | 26 +++++++++++----------- > 2 files changed, 17 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css b/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css >index 8edc941..d94c510 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css >@@ -42,3 +42,7 @@ th select { > width: 100%; > font-weight: normal; > } >+ >+th#items_title { >+ min-width: 12em; >+} >\ No newline at end of file >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index 5588242..5e02cc4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -239,19 +239,19 @@ > function submitForm($form) { > var tr = '' > + ' <tr>' >- + ' <th>' + _("Title") + '</th>' >- + ' <th>' + _("Publication date") + '</th>' >- + ' <th>' + _("Publisher") + '</th>' >- + ' <th>' + _("Collection") + '</th>' >- + ' <th>' + _("Barcode") + '</th>' >- + ' <th>' + _("Call number") + '</th>' >- + ' <th>' + _("Home library") + '</th>' >- + ' <th>' + _("Current location") + '</th>' >- + ' <th>' + _("Shelving location") + '</th>' >- + ' <th>' + _("Inventory number") + '</th>' >- + ' <th>' + _("Status") + '</th>' >- + ' <th>' + _("Checkouts") + '</th>' >- + ' <th></th>' >+ + ' <th id="items_title">' + _("Title") + '</th>' >+ + ' <th id="items_pubdate">' + _("Publication date") + '</th>' >+ + ' <th id="items_publisher">' + _("Publisher") + '</th>' >+ + ' <th id="items_collection">' + _("Collection") + '</th>' >+ + ' <th id="items_barcode">' + _("Barcode") + '</th>' >+ + ' <th id="items_callno">' + _("Call number") + '</th>' >+ + ' <th id="items_homebranch">' + _("Home library") + '</th>' >+ + ' <th id="items_holdingbranch">' + _("Current location") + '</th>' >+ + ' <th id="items_location">' + _("Shelving location") + '</th>' >+ + ' <th id="item_inventoryno">' + _("Inventory number") + '</th>' >+ + ' <th id="items_status">' + _("Status") + '</th>' >+ + ' <th id="items_checkouts">' + _("Checkouts") + '</th>' >+ + ' <th id=""></th>' > + ' </tr>' > var table = '' > + '<table id="results">' >-- >2.7.4
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 19348
:
67234
|
67333
|
67334
|
68278