filtering searches or smart groups by date

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
othoms
Posts: 3
Joined: Tue Jan 31, 2017 5:15 pm

filtering searches or smart groups by date

Post by othoms »

Currently it seems not possible to create smart groups (or Find in Library) that are restricted to particular date ranges. Is this correct? For instance, I would like to create a smart group based on keywords that returns only references published after 2010. Is there a work-around?

Best,
Timo
Jon
Site Admin
Posts: 10292
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: filtering searches or smart groups by date

Post by Jon »

I suspect you can do something like this with an SQL search. Here's a quick example (I'm sure there are better ways):

thedate REGEX '201[0-9]'

will find references where the date field holds a 4 digit (or larger) number beginning with "201"

Jon
Sonny Software
othoms
Posts: 3
Joined: Tue Jan 31, 2017 5:15 pm

Re: filtering searches or smart groups by date

Post by othoms »

Can this be done with smart groups?
Jon
Site Admin
Posts: 10292
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: filtering searches or smart groups by date

Post by Jon »

That IS for a smart group (SQL).

Jon
Sonny Software
othoms
Posts: 3
Joined: Tue Jan 31, 2017 5:15 pm

Re: filtering searches or smart groups by date

Post by othoms »

Great. I realize now that SQL/Regex search from the dropdown menu (Refs) is not the same as right clicking in the sidebar. Sorry about that. Was able to make it work now. Thank you.
Post Reply