[Koha-bugs] [Bug 5738] Display the URI in 856u as an Image

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 18 21:08:55 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5738

--- Comment #18 from Doug Dearden <dearden at sarsf.org> 2011-03-18 20:08:55 UTC ---
(In reply to comment #17)

Jared,

Try changing both the Staff Client and OPAC sysprefs to "neither", save them,
then change them back to "both" and see if that changes the result.  I have
updatedatabase.pl set to originally set these to OFF (neither results or
details page) but alphabetically the "both" option comes first, and I think it
displays as the default after updatedatabase.pl is run.  But really both are
still off.  I'm not sure of the best way to fix that.  Maybe initially set them
to "both", but I didn't want to presume that these should be on until the user
turned them on.

Also, did you rebuild Zebra?  I think the results page doesn't work until after
a Zebra rebuild.

Just to be clear, for the image to show up instead of the text link you have to
have the corresponding XSLT option on, the Display856uAsImage and/or
OPACDisplay856uAsImage system pref turned on, a valid link in the 856u field
and a valid MIME extension or MIME type in the corresponding 856q field (jpg or
image/jpeg should make it work, an empty 856q or some invalid text like "not"
should cause the alternative text link to be displayed). 

Regarding the sysprefs.sql file, the doc I was reading on how to do a good
patch mentioned the one file in ../installer/data/mysql/en/mandatory but not
any other languages.  (I can't figure out where that guide is now, somewhere on
the web site I thought but I have no idea where).  When I look in the other
folders in ../installer/data/mysql there are sysprefs.sql files but the
contents seem to be in english.  Do I just need to add the same SQL statements
into these as well?  (If so, why are we duplicating that if it always in
english, why not just use one file?)  Is there a translation file somewhere
that needs to be updated?  Need some guidance.

Thanks,

Doug

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list