https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30352
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149920|0 |1 is obsolete| | --- Comment #16 from David Nind <[email protected]> --- Created attachment 150108 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150108&action=edit Bug 30352: Add a comment to the substatus translation The tric of combining the XPath union operator (|) with the value-of instruction works as a sort of ternary operation. The value-of only picks the string value of the first node from the union in document order. So, if there is a translation, it will be the first node. If there is no translation, the original substatus will be used. Note that there will be no translation for authorised values like Staff collection, etc. Test plan: None. Just comments. Signed-off-by: Marcel de Rooy <[email protected]> Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
