huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
237 stars 79 forks source link

6713 = Activity log filter not working #6735

Closed mfacar closed 3 months ago

mfacar commented 4 months ago

fixes #6713

PR checklist:

QA checklist:

mfacar commented 3 months ago

@Zasa-san, Thanks for your helpful review! Regarding the functionality, I could reproduce the absence of the param when the key enter is pressed on the filter field, it was because I implemented a debounce that was preventing the update of the form state before submitting the form, after reducing the debounce time it is working well.

The RAW action is not a specific HTTP method, it is shown as default when there isn't any beautifier parser that provides semantic information about the entry. We can extend the filtering logic in the backend to discriminate this case, but the current implementation is already quite complex. In my opinion, we should add a parser to handle the endpoint to publish entities.

mfacar commented 3 months ago

I've noticed an error when paginating (I've forced the route to only load 5 items per page to get some pagination). When I reach the last page this odd thing happens with pagination component.

Great catch! thanks!

mfacar commented 3 months ago

Closing in favor of #6866