commit 10ccab0bc9801ef9911477a2f60ac5bcb51022f3 Author: RotationMatrix 52428419+RotationMatrix@users.noreply.github.com Date: Tue Mar 24 18:23:18 2020 -0400
Add `key` field to redirect model
This allows redirects to be sorted like normal questions on support.tpo. --- models/redirect.ini | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/models/redirect.ini b/models/redirect.ini index 91ea2ce..8452af9 100644 --- a/models/redirect.ini +++ b/models/redirect.ini @@ -5,3 +5,7 @@ name = Redirect label = Redirect Target type = string description = Target is of type 'string' to allow relative paths. Converted to url in the template. + +[fields.key] +label = Key +type = sort_key
tor-commits@lists.torproject.org