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

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,514
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top