[Koha-bugs] [Bug 10544] stocknumber index is an alias of Number-local-acquisition

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 27 10:06:52 CET 2014


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

--- Comment #20 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Got the following response from Jared:
Upper-case indexes seem odd to me, but it would be easy to add them. For
example, the following change in Koha/QueryParser/Driver/PQF.pm:
97    $self->add_search_field_alias( $class => $field => uc $field );

Note btw that I did not mean an uppercase index but actually an index starting
with one uppercase letter (in this case: Number-local-acquisition).
I have spent some time scrolling through QueryParser and found that we could
change its behavior around lines 856-857 in the regexes that parse the query
for fields and aliases, but that is certainly outside the scope of this report.

I do not think that it is necessary or even appropriate to add the first
mixed-case variant just for this field.
So in short, I will just sign off the current version.

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


More information about the Koha-bugs mailing list