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

Marcel de Rooy <m.de.r...@rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #161448|0                           |1
        is obsolete|                            |

--- Comment #5 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
Created attachment 165087
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165087&action=edit
Bug 35903: In cataloguing authority plugin using autocomplete must set operator
exact

When cataloguing and using authority plugin, there is auto-completion on inputs
and default operator is "contains".
When using auto-completion and selecting a result it would be logical to set
operator "exact".

See doc https://api.jqueryui.com/autocomplete/#event-select

This patch also adds auto-completion missing on "Search all headings".

Test plan:
1) Create a new authority Topical Term with heading "Cart"
2) Create a new authority Topical Term with heading "Carthage"
3) Create a new biblio record
4) Use authority plugin on field 650
5) You see current operator are "contains"
6) Enter "Car" in "Search main heading ($a only):"
7) You see auto-completion showing "Cart" and "Carthage"
8) Click on "Cart"
9) You see operator changes to "is exactly"
10) Submit form to see the results
11) Clear form and repeat 6-9 for the three other inputs

Signed-off-by: Michelle Spinney <mspin...@clamsnet.org>

Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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