Hello folks,
I want to create the grouping by readstatus shown on the JabRef hompage and docs.
I already created a static group By Status and the two groups Skimmed and Read using “Collect by searching for a keyword” which are working
What troubles me is how to set up a group that selects entries with an empty readstatus field.
I tried to use a regular expression ^$ which should select empty strings but that doesn’t work.
Hi Carlos!
I just started learning JabRef and was struggling with the exact same problem.
Quick answer:
I just found this solution by inspecting the library file and reading JabRefs documentation about using a free-form search expression.
By selecting a read status, a parameter is added to your entry in the .bib file which will look like this:
@InProceedings{keyword,
author = {...},
title = {...},
year = {...},
readstatus = {skimmed},
}
The status will be either “skimmed” or “read”. If nothing is selected, the parameter doesn’t exist.
So to create a free-form search, where every unread entry is included, you have to filter entries that do NOT have the status “skimmed” AND do NOT have the status “read”:
A future feature request would be to have other triggers that automatically assign the read status, e.g. after having the entry added to a specific group.
This here is a perfect example for how “labels” (with readstatus=read being something similar to a label attached to an entry) can enhance the group functionality.