meteor-tabular icon indicating copy to clipboard operation
meteor-tabular copied to clipboard

Search within data from custom publications not possible

Open daolutions opened this issue 8 years ago • 3 comments

How is it possible to search fields that are not part of the original collection?

I've tried you suggestion with the reywood:publish-composite and dburles:collection-helpers packages, and a pure server side solution with maximum:server-transform that returns some custom text fields within the publication.

No matter which approach the search doesn't work on this data fields. Is there any way to manage this?

daolutions avatar Aug 17 '17 17:08 daolutions

+1

PersonaA avatar Jul 22 '18 06:07 PersonaA

+1

nasuke0302 avatar Jan 09 '19 21:01 nasuke0302

Ran into this too. Per the docs, there's two publications. One that gets the _ids and one that gets the actual docs. I think it's the publication that figures out which _ids to query that would have to be overridden. As the pub field only lets you override the publication that gets the actual documents. This doesn't help with search, sort, and pagination on custom fields as it's already done by that point because it's passing you a set of _ids.

evolross avatar Apr 16 '19 02:04 evolross