LP#1815815: Simplify basic search UI This commit adds logic to the org selector (and backing context building logic) to allow the library dropdown to render Library Groups in a way mechanically similar to location groups. This is used in the basic search interface to simplify the Library Group feature. The advanced search interface still uses separate Library and Where dropdowns, as this allows advance search to retain the depth selection capability, and more directly shows the (real) relationship between a library and the location groups, library groups, and depths that are relevant to it. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Ruth Frasur <rfrasur@library.in.gov> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP#1815815: Library Groups This branch implements Library Groups (what used to be called "lassos") for Evergreen. Evergreen has, internally, a concept called "lassos" that allows an administrator to define a group of org units to search that has no relation to the hierarchical org tree. For instance, one might create a group of law or science libraries within a university consortium, or group all school libraries together. In addition to the previous always-visible type of Library Group (lasso), one can now make them context-aware so that that only show up if the current search location is included as one of the org units in the Library Group. This is implemented without regard to the org unit hierarchy, and so requires that the relevant ancestor and descendent org units be included in the group along with those that actually hold copies, but allows for complete flexibility in context-aware Library Group configuration. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Ruth Frasur <rfrasur@library.in.gov> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP1735768: adding labels to inputs in the public catalog Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP1735754 - WGAC Compliance for Advanced Search In compliance with WGAC standards, the html valign attributes have been removed from Open-ILS/src/templates/opac/parts/advanced/search.tt2 Signed-off-by: Sam Link <slink@LIBPC002> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP#1681095 Browser cache-busting key for longer expires Extend the support for cache-busting that we added with autogen's generation of ctx.eg_cache_hash for core JavaScript assets to other assets such as images, stylesheets, and additional JavaScript. This will enable us to set very long cache times for our assets, which can then be controlled explicitly by setting eg.cache_key in config.tt2, or by default any time you run autogen. Addresses TPAC and KPAC Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Josh Stompro <stomproj@larl.org> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP#1697066: changing copy location search box from 3 to 4 This patch makes the number of options displayed in the shelving location selector on the public catalog advanced search page 4, matching the other selectors. Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP#1661661: Support for right-to-left (RTL) languages File changes added by Nawras Othman for RTL languages (such as Arabic). First pass includes moving some remaining inline CSS to the stylesheet file, Also includes a hard-coded check for the "ar-AR" locale (current Arabic). Signed-off-by: Nawras Othman <othman.nawras@gmail.com> Signed-off-by: Ben Shum <ben@evergreener.net> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
LP#1663374: Allow metarecord searching by default Before the TPAC, a site could configure the OPAC to use metarecord searching by default, via a configuration file. Here we bring that back. A new setting is present in templates/opac/parts/config.tt2 to enable this feature. By setting this to a true value (normally 1) the TPAC will silently include the #metabib search modifier in the search form on any interfaces that do not have a UI component that allows the user to control the setting. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
LP#1549505: Add ability to set default sorter via global flag In addition, support for sorting by ascending popularity remains in the back end, however, since if one's configured badges such that almost every record has a badge score, that sort order could be useful for examining the long tail of the collection. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
LP 1548993: Remember the Show More/Fewer Details button selection. The state of the Show More/Fewer Details button selection was previously not remembered across searches or across changes to advanced search. This commit attempts to remedy that. Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org> Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
LP#1507845: Improve search engine optimization Back in bug # 1414033 , we added rel="nofollow" attributes to many of the links that led to search results or call number browsing. This was the right idea, but a bit overzealous as it turns out. We actually want search engines to follow those links; we just don't want search engines to index them. Therefore, we can tweak the <meta> tag in the results and browse page headers to say "follow,noindex", and remove many of the inline rel="nofollow" attributes from the other pages. In addition, add a rel="canonical" link to the catalogue home page. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Ben Shum <ben@evergreener.net> Conflicts: Open-ILS/src/templates/opac/parts/record/subjects.tt2
LP#1519055: Make electronic search filter optional Making checkboxes configurable, and off by default. Release notes updated. Signed-off-by: Jake Litrell <jake@masslnc.org> Signed-off-by: Ben Shum <ben@evergreener.net>
LP#1519055: more changes - Add checkbox to search results page - Adding persistence for checkboxes. - Sentence Case Fix Signed-off-by: Jake Litrell <jake@masslnc.org> Signed-off-by: Ben Shum <ben@evergreener.net>
LP#1519055: Simple checkbox to exclude electronic resources from search results Initial checkbox to exclude electronic resources (types 'o' and 's' for now). Signed-off-by: Jake Litrell <jake@masslnc.org> Signed-off-by: Ben Shum <ben@evergreener.net>
Whitespace cleanup. Signed-off-by: Jake Litrell <jake@masslnc.org> Signed-off-by: Ben Shum <ben@evergreener.net>
LP#1414033: Add rel="nofollow" to search/browse links Mark links in the TPAC that robots should not attempt to crawl (such as search results, call number browsing, adding records to temporary lists, placing holds, logging in) using the rel="nofollow" convention, per https://support.google.com/webmasters/answer/96569?hl=en Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Ben Shum <bshum@biblio.org>
LP#1301599 TPAC replace aria-label with title As appropriate, replace aria-label attributes with traditional HTML title attributes. For ref, from the LP entry: http://www.w3.org/TR/2013/WD-aria-in-html-20131003/#first-rule-of-aria-use "If you can use a native HTML element [HTML5] or attribute with the semantics and behaviour you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so." Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Ben Shum <bshum@biblio.org>
LP#1301599 TPAC advanced search from labels Instead of using titles / aria-labels directly on advanced search selectors, provide selector IDs so the existing text labels can be turned into <labels> and linked (by id) to their form control. This means we only need one label per form control, which improves usability from an accessibility perspective. Signed-off-by: Ben Shum <bshum@biblio.org>
LP#1301599 TPAC advanced search additional labels Provides a number of labels, primarily for select widgets, in the TPAC advanced search form for improved accessibility. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Ben Shum <bshum@biblio.org>
LP#1053397 TPAC metarecord search and holds UI API, TPAC backend, and UI bits for TPAC metarecord searching and holds. * Group Formats and Editions options in advanced search / searchbar * MR holds placement form, allowing selected formats and languages * MR holds targeting updated to work w/ new holdable formats composite definitions Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Dan Wells <dbw2@calvin.edu>