I have a single page on which I have two subscriptions to the same 'Records' collection. These are for:
Search - a subscription that finds records based on a fairly complex filter. I only return headline data for this with most fields filtered out.
Active - a simple subscription by ID which checks user rights more stringently and triggers logging of all access to the actual record.
The problem is that unless I replicate the search result logic used in the publication on the client, I end up with both the currently searched records as well as the active record being shown in a simple list of all records in the collection.
The best solution I could think of was to use dburles:collection-helpers to create a single place for this search, but I actually would prefer to hide this logic from the client altogether.
Is there any way I can access just the records returned based on a specific subscription?