For a biblio with a lot of items, it is not easy to find the one you want to edit. Datatables could help using a filter box.
Created attachment 21139 [details] [review] Bug 10901: Add datatables to the add item page For a biblio with a lot of items, it is not easy to find the one you want to edit. Test plan: Try to edit/delete item from the add item page. Verify there is no regression on this page.
Patch tested with a sandbox, by Pierre Angot <tredok.pierre@gmail.com>
Created attachment 21222 [details] [review] Bug 10901: Add datatables to the add item page For a biblio with a lot of items, it is not easy to find the one you want to edit. Test plan: Try to edit/delete item from the add item page. Verify there is no regression on this page. Signed-off-by: Pierre Angot <tredok.pierre@gmail.com>
Created attachment 21309 [details] Screenshot showing withdrawn is not sortable Hi Jonathan, I really like the idea of this :) Just 2 things: 1) My withdrawn column was the only column not being sortable and a search for "withdrawn" brought up no results. Could you check what's going wrong there? 2) Having one general search box makes the search not very exact. For example if you wanted to check for "old" items by acquisitions date or last seen date the other date columns will interfere with the search. Maybe we could also add a search box for each column? Failing for 1).
(In reply to Katrin Fischer from comment #4) > 1) My withdrawn column was the only column not being sortable and a search > for "withdrawn" brought up no results. Could you check what's going wrong > there? Yes, my bad, followup coming. > 2) Having one general search box makes the search not very exact. For > example if you wanted to check for "old" items by acquisitions date or last > seen date the other date columns will interfere with the search. Maybe we > could also add a search box for each column? It is a more complex task. I didn't plan to add filter for each column.
Created attachment 21336 [details] [review] Bug 10901: the withdrawn column should be sortable
Hi Jonathan, that's ok - I will add it to my wishlist :) Thx for the follow-up.
Created attachment 21392 [details] [review] [PASSED QA] Bug 10901: Add datatables to the add item page For a biblio with a lot of items, it is not easy to find the one you want to edit. Test plan: Try to edit/delete item from the add item page. Verify there is no regression on this page. Signed-off-by: Pierre Angot <tredok.pierre@gmail.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes all tests and QA script. Adding, editing and deleting items still works. Search provides useful help for locating the correct items.
Created attachment 21393 [details] [review] [PASSED QA] Bug 10901: the withdrawn column should be sortable Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Pushed to master. Thanks, Jonathan! Since the two initial columns for the record actions have been collapsed into one, additional visual tweaking might be a good idea.
*** Bug 11162 has been marked as a duplicate of this bug. ***