[Koha-bugs] [Bug 14217] Add a DOM syntax for specifying conditions on indexes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 12:48:55 CEST 2015


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

--- Comment #10 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #9)
> I haven't tested yet, but looking at the code I am wondering if there is not
> a way to add a flag 'index_it!' instead of c/p the 2 foreach marc::subfield
> loops?

Maybe elaborate a bit more? Remember the current syntax lets you choose what
subfields to include for indexing, so you need to loop.
Anyway, I just hooked the extra 'condition' attribute and then test for it to
skip if condition is not met.

If you propose a major XSLT refactoring it should probably belong to it's own
bug

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list