[Koha-bugs] [Bug 9282] authorities auto-completion in mainmainentry
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 13 14:56:22 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9282
Fridolyn SOMERS <fridolyn.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |Needs Signoff
Assignee|gmcharlt at gmail.com |fridolyn.somers at biblibre.co
| |m
--- Comment #1 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 14073
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14073&action=edit
Proposed patch
C4::AuthoritiesMarc :
add 'hemain' key in authorities search results containing mainmainentry ($a
most of the time). This can also be usefull for other features.
authorities/ysearch.pl :
- use of JSON module to encode output (this is usefull if data contains syntax
characters like a double quote)
- returned list as no duplicates (case is ignored)
- add 'catalogue' permission test (like auth_finder.pl) => no access for a OPAC
user
- if authentication fails, an empty page is returned, lighter than a 500 error
page (like many other ajax scripts)
- UTF8 encoding is directly done by to_json (like in getitem-ajax.pl). I think
it is the best performance way.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list