https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28316

Andrew Nugged <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Andrew Nugged <[email protected]> ---
(In reply to Nick Clemens from comment #2)
> This is a decision we need to make. Do we want to automatically escape these
> characters, and then we cannot use range searches in Koha, or do we want to
> allow for more advanced searching, but ask the user to escape things?


What if we introduce config variable (so Koha can behave in the old way for
those who don't use this or not changed, because of proper default value we
will set), and even we can have that variable more advanced state "extra
checkbox" under the search field, so:


"useAdvancedSearchSyntax" config var with three states:
  1. always (current Koha style)
  2. never (i.e. all special characters auto escaped)
  3. show checkbox "on/off advanced search syntax" just under the search field

third option I mean: 

[___________________] [Submit]
[x] disable advanced syntax (syntax help link)


so we sill have some URL like this:
/cgi-bin/koha/catalogue/search.pl?q=test+book&disable_adv_syntax=1
and adding this +1 parameter to search form this also allows to generate
externals search links if we need

?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to