Notes with one suspended card - how to filter

Before posting, please do the following:
mmm

  1. Search these forums.
  2. Read Getting Help.
  3. Read the Card Template docs.
  4. For Advanced Users, check the Mozilla Reference for HTML, CSS, and JavaScript.

If your problem persists, please delete this text, and explain the problem you are having in as much detail as possible.

Are you still working on writing your post? So far, it only has the posting instructions.

Problem with post, could not complete, although the title nearly covers the question.

I have a deck with substantial number of cards suspended, either card 1 or 2. As a matter of housekeeping I’d like to identify these notes.

Is there a filter that will show which notes have only one live card?

There’s no specific filter, but there’s a way you can do it. I’ve done this before to find “orphan” New cards, and I think the same logic will work. I’m sure there’s a simpler way, and I look forward to someone suggesting it!

I usually do this with marked and flags (because I think the colors help!), but I just worked out a way that I think you can do it with tags only, so this won’t interfere with any other flags on the cards, and anything else you use marked and flags for. If you are already using these tag names, pick anything you like.

  1. Find all notes that have at least 1 unsuspended (live) card
    • Search for -is:suspended
    • Select all
    • Add tag “1-unsusp”
  2. Find all of those notes that have at least 1 suspended card
    • Search for tag:1-unsusp is:suspended
    • Select all
    • Add tag “2-susp”
  3. Search for tag:2-susp to see all of the cards for this set of notes – which have at least 1 unsuspended and at least 1 suspended card.
  4. When you’re done with what you needed them for, you can delete these tags directly from the sidebar.
1 Like

Thanks, that worked fine!
The problem was that the number suspended cards was not double the notes. Not a big deal in itself but obviously not correct.

I don’t understand that problem. It seems like if the notes have 2 cards and either card1 or card2 is suspended, then you would expect at the end to have found:
# of suspended cards = # of unsuspended cards = # of notes

You’ll have to tell me what you were looking for that was different.

I was looking for notes to be fully suspended, not just odd cards. Your hint allowed me to identify the notes and correct that.
The way I looked at it was: find all the suspended cards in pairs, and see that this number = the number of suspended cards.
So job done.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.