[Koha-bugs] [Bug 18961] Datatable column filters of style 'select' should do an exact match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 13 14:38:53 CEST 2017


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

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.somers at biblibre.co
                   |                            |m

--- Comment #4 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
(In reply to Marcel de Rooy from comment #3)
> if ( grep /^$columns[$i]$/, qw( ccode homebranch holdingbranch location
> notforloan ) ) {
> 
> How do you know for sure that this comes from a select ? And that another
> value is not ? Note that we can choose to limit values by authorized values
> etc.

Indeed.
We had this same problem.

That is why I propose that all filters would be exact match in items search,
SQL wildcard characters can be used to search like before : %text%.

This is the way to search in items search form so I think it is logical.

I will propose an alternate patch.

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


More information about the Koha-bugs mailing list