ORIENT/modules/backend
Tobias Kündig dc72cafcd1
Don't persist failed search terms (#5039)
If a column is defined as searchable, that is not actually searchable (like a partial) and a user filters a list using the searchbox, an Exception is thrown.

Unfortunately, this errorenous search term has already been persisted to the session so on subsequent page loads, the user is presented with an Exception with no way to resolve it themselves.

This PR catches any exception that happens during the search and resets any persisted search terms so that the user can continue working after a page load.

The exception itself will still be thrown.

To reproduce the issue this PR solves:

Set a partial column in any list as searchable: true
Submit a search query
Hit F5
2020-04-27 01:55:40 -06:00
..
assets Allow sidePanel to be used independent of sideNav 2020-04-15 00:16:29 +08:00
behaviors satisfy the code sniffer 2020-04-04 22:26:52 -06:00
classes Validate backend forms client-side (#4804) 2020-04-09 14:24:51 -06:00
controllers Unsuspend a backend user from user update screen (#5032) 2020-04-07 13:22:41 -06:00
database Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
facades Code dusting (#2826) 2017-04-24 21:38:19 +10:00
formwidgets Simplify Media Library upload logic (#5026) 2020-04-04 02:11:28 -06:00
helpers Allow decompiled Backend JS assets (#4549) 2019-08-16 16:19:16 +08:00
lang Added Serbian translation (#5040) 2020-04-14 21:58:47 -06:00
layouts Remove JS layout calculations of the backend navbar by using flexbox (#4811) 2020-04-02 10:47:24 -06:00
models Added Serbian translation (#5040) 2020-04-14 21:58:47 -06:00
reportwidgets Hide link to "Access Logs" when the user doesn't have access (#4462) 2019-07-19 09:53:02 -06:00
skins {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
traits Use root namespace for Exception in catch block 2020-04-05 00:55:35 +08:00
views Prevent subject and password from being HTML encoded in the invite email (#4301) 2019-04-30 09:13:55 -06:00
widgets Don't persist failed search terms (#5039) 2020-04-27 01:55:40 -06:00
ServiceProvider.php Markdown formwidget improvements (#5004) 2020-03-29 09:37:03 -06:00
composer.json Updating links in composer files 2018-04-16 02:33:08 -06:00
routes.php Add missing documentation comment blocks for fired events (#4788) 2019-11-24 23:59:00 -06:00