Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When labeling a message with a nested label the message does not appear in the parent label, which in my opinion would be the power having a label hierarchy.

Is there a way to automatically apply the parent label when moving a message to a sublabel?

For example, given the following labels...


I would like every message labeled Today to also appear in Pending, without having to apply a filter manually.

share|improve this question
you have to use a filter – Sathya Oct 5 '12 at 8:14
up vote 3 down vote accepted

I managed to achieve a similar functionality this by enabling the Quick Links lab and then setting a quick link to the following seach:

label:pending OR label:pending-today OR label:pending-week
share|improve this answer

I've achieved this by creating a new filter with all child labels linked with OR and (edited to clarify) applying parent label to it, i.e.:

label:parent-child1 OR label:parent-child2 and so on...

No Quick Links thingy (found that solution also in some other sites) and so far everything works as expected.

share|improve this answer

For me the best solution is to make two identical filters, one for each label:

  • One that applies the parent label
  • Another that applies the nested label
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.