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 Bug 9140: Followup removes the useless variable $message 2012-12-22 16:02:55 -05:00
branchoverdues.pl Bug 8077 - overdues with fines won't run 2012-05-21 18:29:26 +02:00
branchtransfers.pl Bug 9394: Use reserve_id where possible 2013-07-24 05:04:55 +00:00
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 bug_7001: Issue and Reserve slips are notices. 2012-03-09 10:11:20 +01:00
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 Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
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 bug_7001: Issue and Reserve slips are notices. 2012-03-09 10:11:20 +01:00
transferstoreceive.pl Bug 10721 - Improve DataTables configuration on transfers to receive report 2013-09-07 21:04:53 +00:00
view_holdsqueue.pl Bug 9591 : Set Library changes after viewing Holds Queue >> reserves item 2013-04-15 08:36:07 -04:00
waitingreserves.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
ypattrodue-attr-search-authvalue.pl Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00
ysearch.pl Bug 2693: add ability to filter by reviewer name on tag review page 2013-12-02 15:58:04 +00:00