📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
X

RSS SqlOrder class makes custom elasticsearch sort orders non-trivial to implement

X

Xon

Guest
Guest or Bot
I'm not sure if this is an XF or XFES bug report, but the issue straddles both of them.

AbstractData::getTypeOrder() is type hinted as mixed but the ConversationMessage search handler has the return type of ?SqlOrder, and then various parts of the Query class & call tree reference string|SqlOrder as the type.

Except XFES uses FunctionOrder in places, so the typing on Query::getOrder() is inaccurate. The tricky bit is being able to...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top