2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-01-22 18:59:43 +00:00

List filtering fix (#746)

* Bug fix for API forms without URL

- Ensure submitted data is returned

* Translate search fields

* Update release notes

* Remove debug message

* dart format
This commit is contained in:
Oliver
2026-01-14 15:15:21 +11:00
committed by GitHub
parent 225c40f9a6
commit a4631cda7a
4 changed files with 22 additions and 10 deletions

View File

@@ -152,19 +152,19 @@ abstract class PaginatedSearchState<T extends PaginatedSearchWidget>
Map<String, dynamic> fields = {
"ordering_field": {
"type": "choice",
"label": "Ordering Field",
"label": L10().searchOrderingField,
"required": true,
"choices": _opts,
"value": _field,
},
"ordering_order": {
"type": "choice",
"label": "Ordering Direction",
"label": L10().searchOrderingDirection,
"required": true,
"value": _order,
"choices": [
{"value": "+", "display_name": "Ascending"},
{"value": "-", "display_name": "Descending"},
{"value": "+", "display_name": L10().searchOrderingAscending},
{"value": "-", "display_name": L10().searchOrderingDescending},
],
},
};