mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 17:10:31 +00:00
Reverses order of report action list
This commit is contained in:
parent
c6d23ba26a
commit
4f6a235d77
2 changed files with 18 additions and 1 deletions
17
bookwyrm/migrations/0180_alter_reportaction_options.py
Normal file
17
bookwyrm/migrations/0180_alter_reportaction_options.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 3.2.18 on 2023-06-21 22:01
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("bookwyrm", "0179_reportcomment_comment_type"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="reportaction",
|
||||
options={"ordering": ("created_date",)},
|
||||
),
|
||||
]
|
|
@ -109,4 +109,4 @@ class ReportAction(BookWyrmModel):
|
|||
class Meta:
|
||||
"""sort comments"""
|
||||
|
||||
ordering = ("-created_date",)
|
||||
ordering = ("created_date",)
|
||||
|
|
Loading…
Reference in a new issue