diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-01 14:46:04 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-01 14:46:04 +0200 |
| commit | 1384756b81c719f899359efc9125e80fae8614c0 (patch) | |
| tree | c8141fedeb7a03f646111177585ac05321e5f981 /app/helpers/content_helper.rb | |
| parent | 52e260a4d7e3ac93c203bda716c37207d5f6cbbb (diff) | |
Allow aggregate to order by slug and paint chapters list more nicely
Diffstat (limited to 'app/helpers/content_helper.rb')
| -rw-r--r-- | app/helpers/content_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
| 98 | # order_by="published_at" | 98 | # order_by="published_at" |
| 99 | # order_direction="DESC" | 99 | # order_direction="DESC" |
| 100 | # ] | 100 | # ] |
| 101 | # | ||
| 102 | # order_by currently takes id, published_at, created_at, updated_at, title | ||
| 103 | # and slug | ||
| 101 | 104 | ||
| 102 | 105 | ||
| 103 | def aggregate? content | 106 | def aggregate? content |
