https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27507
--- Comment #10 from Martin Renvoize <[email protected]> --- hmm, also $w appears to be repeatable.. should we be iterating here? My thoughts so far.. we need a new function that. 1. Iterates through $w subfields and looks for one of the following: 1a. (RCI)Controlnumber where the RCI matches the OrgCode syspref 1b. Controlnumber 2. Once we've found the form we're expecting from above (1a in preference to 1b if both exist). 3. Produce the search string 'control-number=Controlnumber' for 1b. or `control-number=Controlnumber AND rci=RCI` if 1a is found. It may also be helpful to add the `OR control-number=Controlnumber` search to 1a to account for cases where OrgCode was added to new children but was is missing from the host? Does this sound viable? -- 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/
