Koha/circ
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
..
add_message.pl
bookcount.pl
branchoverdues.pl
branchtransfers.pl
circulation-home.pl Bug 10240: Offline circulation using HTML5 and IndexedDB 2013-10-11 01:53:34 +00:00
circulation.pl Bug 2720 - Overdues which debar automatically should undebar automatically when returned 2013-10-31 01:53:22 +00:00
del_message.pl
hold-transfer-slip.pl
offline-mf.pl Bug 10240: QA follow-up 2013-10-11 01:57:03 +00:00
offline.pl Bug 10240: QA follow-up 2013-10-11 01:57:03 +00:00
overdue.pl
pendingreserves.pl Bug 9761: Make it possible to confirm future hold requests at checkin time 2013-09-25 00:26:34 +00:00
renew.pl Bug 10493: (follow-up) fix unitialized variable warning 2013-10-22 20:59:50 +00:00
reserveratios.pl Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
returns.pl Bug 10513: (follow-up) use "checkin" rather than "check in" 2013-09-16 17:45:32 +00:00
selectbranchprinter.pl
stats.pl
transfer-slip.pl
transferstoreceive.pl Bug 10721 - Improve DataTables configuration on transfers to receive report 2013-09-07 21:04:53 +00:00
view_holdsqueue.pl
waitingreserves.pl
ypattrodue-attr-search-authvalue.pl
ysearch.pl Bug 2693: add ability to filter by reviewer name on tag review page 2013-12-02 15:58:04 +00:00