mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 11:53:18 +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:
parent
225c40f9a6
commit
a4631cda7a
4 changed files with 22 additions and 10 deletions
|
|
@ -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},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue