aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-02-21 16:27:46 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-02-21 16:27:46 +0100
commit3511c8d47d3f6fbe89c391b69b0cb5a0b437c813 (patch)
tree127e1fb4e3d84b53d521a56a6754cbdf93f45005
parentb92e518eaa0e3baeef460667dee0929d5b19cc3d (diff)
downloadguide.deuxfleurs.fr-3511c8d47d3f6fbe89c391b69b0cb5a0b437c813.tar.gz
guide.deuxfleurs.fr-3511c8d47d3f6fbe89c391b69b0cb5a0b437c813.zip
add select field
-rw-r--r--static/admin/config.yml4
1 files changed, 4 insertions, 0 deletions
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