[Koha-bugs] [Bug 10752] Impossible to add 2 identical suggestions, but without any explanation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 20 10:13:23 CEST 2015


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

--- Comment #9 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Katrin Fischer from comment #6)
> This works really nicely, but there are 2 small problems:
> 
> 1)  I notice is that the link is not visible as a link - the font is all red
> and hiding away that you can click on the text in the parenthesis. -
> wondering, do we have another style we could use here?

Ok fixed, I have deleted few css lines. I think they were not used.

> 2) Enter the first as "Test" then another as "Test " - you can save it
> without any complaint. Now create another "Test" - the error message is
> appearing twice?

Yes, it's caused by the way the search is done.
To know if a suggestion exists, a LIKE "%$term%" is done, so if one exists with
"Test" in the same, it won't be inserted.
I prefer to show all results rather than choose 1 of them. 

> 3) The other problem... is that this also appears in the OPAC where the user
> is left with questionmarks why his/her suggestion didn't save. :( Not a
> blocker, but would be great to see it fixed!

Done in the last patch.

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


More information about the Koha-bugs mailing list