Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard d536ed92fa Bug 2693: add ability to filter by reviewer name on tag review page
If you want to filter results on the tags management page by the
reviewer you have to know their borrowernumber. It would be better to be
able to search by name, but in the meantime this patch adds an
autocomplete widget to the form field so that you can do a name search
and populate the field with the borrowernumber.

To test you must have approved or rejected tags. From the tags review
page (tags/review.pl), view all, approved, or rejected tags. Type a name
in the "reviewer" form field in the left sidebar filter. You should get
an autocomplete dropdown with names matching your search. When you
select one the form field should be populated by the borrowernumber.

Signed-off-by: David Cook <dcook@prosentient.com.au>

Patch works as described. I'm not sure whether or not it would be better
to be able to search by name, as that would involve either choosing
between names after applying the filter or showing any possible matches,
so this seems fine.

--

Owen and I did observe that we were able to cause AJAX errors while
using this autocomplete, but we are not 100% sure how we caused the error.
In my case, I was able to occasionally cause it by typing in a name
then backspacing rapidly. The ajaxError method is attached to every
element in the DOM (yikes) so it's tough to say what exactly is the
source of the error (which is signalled by a pop-up window that can be
cancelled).

The error is quite rare so I don't think it's necessarily a problem
for us.

One idea that Owen had was to remove the current error message, which
is very unhelpful and replace it with an error like "Something went
wrong. Try again."

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-02 15:58:04 +00:00
..
css Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
data Bug 10592: fix MARC21 006/008 cataloging plugins 2013-07-22 14:00:23 +00:00
includes Bug 7484: keep selected values when changing search type on authority search form 2013-11-27 18:30:35 +00:00
js Bug 11205: fix DataTables filter issue when more than one table is on a page 2013-11-09 16:28:52 +00:00
lib Bug 9034: Add sorting and filtering on items table (catalogue/detail.pl) 2013-02-07 19:35:51 -05:00
modules Bug 2693: add ability to filter by reviewer name on tag review page 2013-12-02 15:58:04 +00:00
xslt Bug 10911: fix invalid links when displaying records that have 880 fields 2013-09-23 17:12:13 +00:00
columns.def Bug 7684: multiple fixes for inventory 2013-11-01 00:10:49 +00:00