- Affected version
- XF2.1.0 Beta 1
The functions
Both
This makes supporting XF2.0/XF2.1 and XF2.2 more complicated than it needs to be.
getTitleOnly
/inTitleOnly
have been removed from XF\Search\Query\Query
and exist on XF\Search\Query\KeywordQuery` but applyTypeConstraintsFromInput
only takes a Query
argument.Both
MoreLikeThisQuery
and KeywordQuery
both have these methods, so I'm unsure why it was removed as ultimately title/body are critical search fields. And a search query which wants to ignore the difference could do that quite easily.This makes supporting XF2.0/XF2.1 and XF2.2 more complicated than it needs to be.