Adding two decks to a custom study session

1,149 views
Skip to first unread message

Michael Julius

unread,
Feb 12, 2016, 12:48:18 AM2/12/16
to AnkiDroid
Hi again,

I want to add two decks to a custom study session so that I may preview new cards that I have added today and yesterday.

The filter syntax looks like this: deck:"Nursing Theory & Practice" is:new added:2

I want to add another deck, "pharmacology". Is there a specific syntax that I should use to add a second deck? Do I separate it with a comma, space, semi-colon, etc? 

for example: deck:"Nursing Theory & Practice"; "Pharmacology" is:new added:2

Thanks for all the help. I LOVE this application.

Michael


Eginhard

unread,
Feb 12, 2016, 4:15:12 AM2/12/16
to anki-a...@googlegroups.com
You can use: 'deck:One or deck:Two'

Eginhard

--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To post to this group, send email to anki-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/b6c86fb4-0162-489d-b98f-4a4a825fbf29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Julius

unread,
Feb 13, 2016, 6:26:11 AM2/13/16
to AnkiDroid, enno.herman...@gmail.com
Is there a difference between 'and' or 'or'?

Tim

unread,
Feb 13, 2016, 7:37:06 AM2/13/16
to AnkiDroid, enno.herman...@gmail.com
Yes, they are completely different. AND is of limited utility here since each card can only have one deck.

http://library.uaf.edu/ls101-boolean

Michael Julius

unread,
Feb 13, 2016, 7:49:17 AM2/13/16
to anki-a...@googlegroups.com
Thanks. Yes, boolean.

'And' in this context, I was assuming would pull the cards from both decks and merge them into a single filtered deck. I can't picture how 'or' would work here.

--
You received this message because you are subscribed to a topic in the Google Groups "AnkiDroid" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/anki-android/CQBa83Yu-kE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to anki-android...@googlegroups.com.

To post to this group, send email to anki-a...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Flavio Lerda

unread,
Feb 13, 2016, 8:21:01 AM2/13/16
to anki-a...@googlegroups.com
Hello Michael,

The way it is interpreted is the following:
Add a card to the filter deck "if its deck is A or its deck is B".

This makes reasonable sense, if you think it as an expression that applies to individual cards.
Since a card can have a single deck, add card to the filtered deck "if its deck is A and its deck is B" would never match any cards.

But I understand that if you think of it as "add all cards from deck A and from deck B" then it makes sense, but that's not way it works.

The reason it is done this way is that it is actually simpler to express filter this way. Otherwise something like: deck:A is:new added:2 would either need a special semantics or would add all cards from deck A and all cards that are new (regardless of the deck) and all cards added in the last two days (regardless of the deck or as to whether they are new). A shorthand syntax like "deck:(A and B)" would reasonably make sense, but then "and" would mean different things in different contexts, which would be confusing for some other people.

The Anki manual has some examples of "and" and "or" under the searching section.

I hope this helps clarifying things.
Flavio

Michael Julius

unread,
Feb 13, 2016, 9:43:21 AM2/13/16
to anki-a...@googlegroups.com
That is perfect. I totally get it!
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/CAELTwuMo7yHFxBFvY4ogbT%2BOnF1oEiyM9_7CJk9CYJOTMiCb3Q%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


--

Reply all
Reply to author
Forward
0 new messages