#1357 new
fnurl

Support: $ALL_MESSAGES.filter to find all messages that have any tag in common with the selected message

Reported by fnurl | December 17th, 2015 @ 05:39 PM

Sorry for creating so many tickets...

I am experimenting with a new layout and want a outline that contains all messages with any tag in common with a selected message. Here are the details:

  • sources = ( { sourceIdentifier = "mainOutline"; } );
  • selectionSources = ( { sourceIdentifier = "mainOutline"; } );

Finally I have the transformation which I can't figure out if I can get it right:

transformation = "$ALL_MESSAGES.filter(#tags =[c] $mainOutline.#tags)";

I am trying to say filter out all messages that have a tag that is among the tags of the selected message in the main outline

Is this possible? Or can I only search for an exact match between the tag set (as they are represented as a string?)?

Are the following guesses correct regarding these comparison operators:

  • !=[x] : does not include
  • =[c] : is in

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages