Allow Script Based Sorting

Created on 20 August 2019, over 5 years ago
Updated 12 February 2024, 10 months ago

For one of our projects, we needed the ability to create a script based sort that utilized parameters known only at the time the search was being built (AKA, hooks weren't an option). Included the patch.

It's a little janky, and I'm sure someone else can think of a better way of doing this. Also, this patch has the limitation of only allowing one script sort to be added to the query.

📌 Task
Status

Needs work

Version

5.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024