Bugzilla – Attachment 49075 Details for
Bug 15434
Make search results breadcrumbs human readable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15434: Follow-up - Add more index terms
Bug-15434-Follow-up---Add-more-index-terms.patch (text/plain), 3.28 KB, created by
Katrin Fischer
on 2016-03-13 22:30:14 UTC
(
hide
)
Description:
Bug 15434: Follow-up - Add more index terms
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-03-13 22:30:14 UTC
Size:
3.28 KB
patch
obsolete
>From 4ad0378f589e7e863f17ce697554bc789c9c2335 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 7 Mar 2016 23:10:16 +0100 >Subject: [PATCH] Bug 15434: Follow-up - Add more index terms > >Adds more index names, especially for >- search for location and collection from adv search page >- facet limits >- authority number search from detail pages > >Also adds a space after the colon for limits. >--- > .../bootstrap/en/includes/opac-bottom.inc | 24 ++++++++++++++++------ > koha-tmpl/opac-tmpl/bootstrap/js/search.js | 2 +- > 2 files changed, 19 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index f6ce804..a08b27d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -113,7 +113,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > "ti,phr": _("Title phrase"), > "se": _("Series"), > "se,wrdl": _("Series title"), >- "callnum": _("Call Number"), >+ "callnum": _("Call number"), > "location": _("Shelving location"), > "au": _("Author"), > "au,phr": _("Author phrase"), >@@ -129,21 +129,33 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > "sn": _("Standard number"), > "nb": _("ISBN"), > "ns": _("ISSN"), >- "bc": _("Barcode") >+ "bc": _("Barcode"), >+ "an": _("Authority number") > }; > var limit_xlate = { >- "mc-itype": _("Type"), >+ "itype": _("Item type"), >+ "mc-itype": _("Item type"), >+ "location": _("Location"), >+ "mc-loc": _("Location"), >+ "mc-ccode":_("Collection"), > "ln": _("Language"), >- "branch": _("Branch"), >+ "branch": _("Library"), >+ "holdingbranch": _("Holding library"), >+ "homebranch": _("Home library"), > "aud": _("Audience"), > "l-format": _("Format"), >- "ctype": _("Content Type"), >+ "ctype": _("Content type"), >+ "au": _("Author"), >+ "se": _("Series"), >+ "su-geo": _("Place"), >+ "su-ut": _("Title"), >+ "su-to": _("Topic"), > "yr": _("Year") > }; > var limit_qualifier_xlate = { > "wrdl": "", > "phr": "", >- "rtrn": "", >+ "rtrn": "*", > "st-numeric": "", > "ge=": ">=", > "le=": "<=" >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/search.js b/koha-tmpl/opac-tmpl/bootstrap/js/search.js >index 2c8aa2e..6a1e24b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/search.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/search.js >@@ -40,7 +40,7 @@ KOHA.Search = new function() { > this.limit_xlate = function(limit_desc) { > $.each(this.limit_xlate_table, function (key, val) { > var key_re = new RegExp('\\b' + key + ':', 'g'); >- limit_desc = limit_desc.replace(key_re, val + ':'); >+ limit_desc = limit_desc.replace(key_re, val + ': '); > key_re = new RegExp('\\b' + key + ',', 'g'); > limit_desc = limit_desc.replace(key_re, val + ','); > }); >-- >1.9.1
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 15434
:
46017
|
46103
|
46674
|
46887
|
49074
|
49075
|
49077
|
50963
|
50964