From 3511c8d47d3f6fbe89c391b69b0cb5a0b437c813 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 21 Feb 2023 16:27:46 +0100 Subject: add select field --- static/admin/config.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'static/admin') diff --git a/static/admin/config.yml b/static/admin/config.yml index 8968119..67599eb 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -27,6 +27,10 @@ collections: - label: Weight name: weight widget: number + - label: Sort by + name: sort_by + widget: select + options: [ "date", "update_date", "title", "title_bytes", "weight", "none" ] - label: Body name: body widget: markdown -- cgit v1.2.3