From 1384756b81c719f899359efc9125e80fae8614c0 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 1 Aug 2026 14:46:04 +0200 Subject: Allow aggregate to order by slug and paint chapters list more nicely --- app/helpers/content_helper.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/helpers/content_helper.rb') diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb index 9d52c110..b2603481 100644 --- a/app/helpers/content_helper.rb +++ b/app/helpers/content_helper.rb @@ -98,6 +98,9 @@ module ContentHelper # order_by="published_at" # order_direction="DESC" # ] + # + # order_by currently takes id, published_at, created_at, updated_at, title + # and slug def aggregate? content -- cgit v1.3