[xenforo] implement '"order-posts": "reaction"' (#8997)

This commit is contained in:
Mike Fährmann
2026-02-04 21:51:55 +01:00
parent 3d36ee0e53
commit 42407afb6d
3 changed files with 30 additions and 7 deletions

View File

@@ -302,6 +302,19 @@ __tests__ = (
"#class" : xenforo.XenforoThreadExtractor,
},
{
"#url" : "https://simpcity.cr/threads/ririkana-rr_loveit.10731/",
"#comment" : "post order by reaction score (#8997)",
"#category": ("xenforo", "simpcity", "thread"),
"#class" : xenforo.XenforoThreadExtractor,
"#auth" : True,
"#options" : {
"post-range" : 1,
"order-posts": "reaction",
},
"#results" : "https://bunkr.cr/v/BKLYkkr9KK6dg",
},
{
"#url" : "https://simpcity.cr/forums/asians.48/",
"#category": ("xenforo", "simpcity", "forum"),