tnc-ba / strongTNC

BYOD TNC Database Management Tool
GNU Affero General Public License v3.0
0 stars 0 forks source link

Deleting Filehash resets Paging #161

Open dbrgn opened 10 years ago

dbrgn commented 10 years ago

When deleting a Filehash, it resets any previously present filters in the paging.

d22 commented 10 years ago

As far as I know, any delete action resets paging and filters. Deletion is implemented as html-form with a post action, thus the url changes and the page and the filter (saved in the hash of the url) are lost. The only easy way to solve this I see atm, is not to use html-forms to delete items (aka. use ajax). @dbrgn, what do you think?

dbrgn commented 10 years ago

Probably, yes.

I think this issue has low priority, but deleting sub-items via AJAX would probably be more elegant.

(When deleting whole objects it doesn't matter though. So very few cases where this is needed.)