https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36135

--- Comment #56 from Emmi Takkinen <[email protected]> ---
Seems that Lucas and I both have been working with this one :D Sorry for not
updating status on this, we've been testing this on our testing environment and
I've been holding up to provide patches here until there are no more major bugs
in this.

I added my patches top of Lucas' patches, they use API to fetch holds and
display them in datatable. However modifying them is still done in back-end
where they are then send back to front-end as JSON and to another datatable.
There is also a feature to modify search before submiting the changes. There is
still a problem with handling the suspend status which I'm currently working
with (changing it doesn't work in other languages than english). 

> 1. Handling state across paginated AJAX table is hard, for me at least. So,
> I don't think we actually need checkboxes. Instead, you do the search and
> can bulk update everything that is returned. There should be an option to
> refine the search.
>
I do agree, handling checkboxes is a mess with pagination. But I'm not yet
ready to give up on that so I'll see what I can do.

> 2. Instead of handling errors with JS before you submit I think can simply
> report back on holds that were not updated. Example, trying to suspend a
> waiting hold. 
> 
I'm not sure if this is a good idea. It feels more user-friendly to provide
feedback for users before anything is changed.

> 3. The report table in the final step should report back successes and
> errors, so I think it cannot be an API/AJAX table since you can't get that
> data from the API. But maybe a standard DataTable?

Again if we handle errors before making modifications there is no need for
this.

I think we need more feedback from users on how to handle these.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to