| Posted by: WUICTeam - Sunday, November 15, 2026 3:24:08 PM |
|---|
| [b]Problem[/b] On a route with client-side CRUD enabled, once the grid switches to offline mode the filters no longer give the same result as online: [list] [*]an advanced filter combined with OR (e.g. [c]status = A[/c] OR [c]status = B[/c]) returns no rows instead of the A and B rows; [*]when the route has fixed filters, the advanced filter built in the filter bar is ignored and all rows are shown; the same happens with grouped filters passed in the query string; [*]the "is not null" operator is ignored, so rows with an empty value stay in the grid. [/list] Online the same grid shows the correct rows: only the offline result is wrong. [b]Answer[/b] The local search used for offline mode always combined filters with AND, did not look inside filter groups and did not know the "is not null" operator. From version 1.8.2 it applies filters with the same rules as the online data provider: AND/OR logic of each group, nested groups (including those created by the filter bar together with fixed filters and those coming from the query string), and the "is not null" operator. No change is needed in your metadata or code: update to 1.8.2. If you cannot update yet, avoid OR conditions and "is not null" in advanced filters on routes where client-side CRUD is used, or disable offline mode on those routes. |