Skip to content

Conversation

montchr
Copy link
Contributor

@montchr montchr commented Jan 4, 2017

It would be helpful to be able to filter the titles of each search result in a post datasource, for example to add a post type or post ID.

An example:

@dlh01
Copy link
Member

dlh01 commented Jan 5, 2017

I wonder whether it would be possible to use the fm_datasource_term_get_items filter as a model for the name and passed arguments of this filter (for example, including $fragment). If so, would you still be able to use the filter as you did in your example?

@mboynes mboynes added this to the 1.3.0 milestone Oct 10, 2017
@montchr
Copy link
Contributor Author

montchr commented Oct 23, 2018

I wonder whether it would be possible to use the fm_datasource_term_get_items filter as a model for the name and passed arguments of this filter (for example, including $fragment). If so, would you still be able to use the filter as you did in your example?

Yes totally. I tried out the approach in #696 and it works great. Closing this pull request in favor of that more robust approach.

@montchr montchr closed this Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants