Koha/koha-tmpl/intranet-tmpl/prog/en/css
Jared Camins-Esakov 3aaaf2f2e4 Bug 7943: Authority search results are untranslatable
The HTML for authority search results was previously generated in
C4::AuthoritiesMarc::BuildSummary, which meant that it couldn't be
translated. This patch moves the HTML generation into the templates
by introducing a new authorities-search-results.inc include file for
both the OPAC and the Intranet which contains a Template::Toolkit BLOCK
for rendering the authority results. Fixes the authority autocomplete
by removing the untranslatable strings, and returning only data from
the database.

To test:
1. Apply patch.
2. Test authority searching in the authority module in the staff client
3. Test authority searching in the authority control plugin in the
   cataloguing module (and the plugin for UNIMARC field 210$c, if you
   can figure out how)
4. Test authority searching in the OPAC

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with MARC21 data.

1) Applies cleanly on current HEAD.

2) Authority search in staff

Patch works wonderfully, only some small notes found while testing that have
not been changed by this patch:

ENH note: Search terms show up nowhere. So if I want to change the sorting, I have to
repeat typing in my search term. Even if the form does not keep the term, it
should be visible somewhere on the screen what I searched for.

ENH note: The pagination on top and at the bottom of the result list are formatted
differently. Maybe some missing CSS?

ENH note: Also the authority type is not shown at all in the result list.

3) Cataloguing and authority plugins

The autocomplete function works nicely.

ENH note: There is only one small enhancement
I could imagine. If I start my search from 100 it will limit the search to
'persons' but the autocomplete will also suggest other authorities. It would
be a bit cleaner, if the autocomplete could limit by the appropriate authority
type too. Very nice feature.

Plugins overall work nicely. Created links include the authority numbers and work
correctly.

4) Authority search in OPAC

Works nicely. Display is consistent, but translatability greatly improved.

ENH note: In staff we use 'Details' in OPAC we use 'View full heading' - I wonder
if maybe 'details' would be better understandable for users?

Note: Code reveals a system preference 'AuthDisplayHierarchy' that is
not available in the system preference editor. I talked to Jared and he
will work on this feature later on. For now it's no regression, as the
preference has never been visible.
2012-06-20 10:07:30 +02:00
..
pages Fix for Bug 5234 - Remove unused CSS files 2011-09-14 08:43:54 +12:00
treeview added jQuery plugin Treeview 1.4.0 2008-04-10 15:54:23 -05:00
addbiblio.css Fix for Bug 7135: Save button options 2011-12-13 18:01:33 +01:00
blue.css (bug #3291) fix blue.css to bold fields and tags in marc view 2009-06-04 07:23:44 -05:00
card.css [10/30] Patron Card Creator home page css 2010-01-11 18:21:11 -05:00
datatables.css Bug 7977: QOTD uploader to enable uploading csv files containing quotes 2012-05-24 14:14:09 +02:00
help.css Fixing "check all" function in search results; Using javascript to generate book bag and list buttons, since those functions depend on javascript being enabled.Also adding help.css, missing from yesterday's help file commits. 2008-01-27 14:34:50 -06:00
hierarchy.css
humanmsg.css Add humane messages jQuery plugin 2009-09-06 22:55:22 -06:00
label.css [30/40] Work on labels module home page. 2009-09-01 15:53:07 -04:00
login.css Bug 6865 - Follow-up, Replace image-based gradient backgrounds with CSS3 gradients 2012-02-10 16:08:09 +01:00
mainpage.css Bug 7998: Don't make the news all bold 2012-05-14 16:07:58 +02:00
preferences.css Bug 7645 - System preferences editor save button obscured by language chooser 2012-03-13 14:37:24 +01:00
print.css Revert "Fix for Bug 6291, Cart printing truncated in Firefox" 2011-11-30 17:12:06 +01:00
printreceiptinvoice.css Bug 4440 Layout tweaking follow-up patch 2010-11-18 14:33:29 +13:00
quotes.css Bug 7977: Further UI work on the QOTD editor 2012-05-24 14:14:17 +02:00
spinelabel.css Quick Spine Label Printer 2009-08-01 10:47:13 -04:00
staff-global.css Bug 7943: Authority search results are untranslatable 2012-06-20 10:07:30 +02:00
tinymce.css Fix for Bug 6884, Improve TinyMCE configuration on Koha News page 2011-09-24 19:45:47 +12:00
uploader.css Bug 7977: Further UI work on the QOTD uploader 2012-05-24 14:14:15 +02:00