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

Fridolyn SOMERS <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|[email protected]         |[email protected]
                   |                            |m

--- Comment #1 from Fridolyn SOMERS <[email protected]> ---
Created attachment 11191
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11191&action=edit
Proposed patch

I found the problem : 
In some cases, the XSLT generates an empty a tag : <a href="..." />
This brakes the page.
The concerned code is the building of subjects.

Correction :
------------
Subject field with authority code ($9) : if the content of <a> is empty (=
$display variable), it is set with the $9 value.
Subject field without authority code ($9) : added a test on $a not empty, to
avoid the same problem.

Test plan : 
-----------
Bug appears on a record with a subject field (ie 606) containing a $9 as last
subfield.
Check also a record with a subject field containing some fields but not $9 nor
$a.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to