Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-16-2016, 04:11 PM   #1
whismerhill
Connoisseur
whismerhill began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
Search improvement request with tag browser [Partially Solved]

hi
would it be possible to add CTRL/SHIFT/ALT handling for the tag browser when an existing search request exists

example :
current behavior :
-search for "date:=today"
-now click in any way on a tag in the "tag browser" (example : click formats, then mobi)
=> result : "date:=today" is lost, now replaced by "formats:"=MOBI""

wished for behavior :
-search for "date:=today"
- CTRL click formats, then mobi
=> result : "date:=today AND formats:"=MOBI""

& ALT click could be "OR" instead of "AND" (or the reverse)

Thanks for reading.

edit: I'm aware you can create virtual libraries for the same result, it would just be a convenient way of making complex searches without having to type them out.

Last edited by whismerhill; 05-19-2016 at 05:09 PM.
whismerhill is offline   Reply With Quote
Old 05-16-2016, 10:15 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It works just like that as long as you build your search from the atg browser. i.e. use Ctrl+Click in the tag browser for all parts of the search.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-17-2016, 07:52 AM   #3
whismerhill
Connoisseur
whismerhill began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
Quote:
Originally Posted by kovidgoyal View Post
It works just like that as long as you build your search from the atg browser. i.e. use Ctrl+Click in the tag browser for all parts of the search.
Hum I guess, that's cool
2 things though :
- the choice between "AND" or "OR" can't be done with an alternate modifier key (such as SHIFT or ALT). Currently I believe I have to set the setting that alternate between AND or OR by hand for the whole search request(it's also 2 clicks & 2 mouse movements to set it back & forth)
- is there a way to get some "dates" & yes/no columns in the tag filter ? (for READ/UNREAD columns)


Thanks for your previous reply.

Last edited by whismerhill; 05-17-2016 at 08:12 AM.
whismerhill is offline   Reply With Quote
Old 05-18-2016, 12:54 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1) IMO that is too confusing

2) No, constructing search expressions via the tag browser only works for data that can be displayed in the tag browser -- yes/no columns and dates are not columns it makes sense to display there.
kovidgoyal is offline   Reply With Quote
Old 05-19-2016, 09:26 AM   #5
whismerhill
Connoisseur
whismerhill began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
I had high hopes for this one. but alright thanks for answering
have a nice day.
whismerhill is offline   Reply With Quote
Advert
Old 05-19-2016, 03:55 PM   #6
whismerhill
Connoisseur
whismerhill began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
I think I found a way to circumvent that limitation of no "read/unread" inside the tag browser
by using a custom column built upon the read/unread status
except I have no idea how to build the specific template but at least I found a solution xD
time to document myself to find how it works

EDIT:

for those interested I named it : "readstatus"
here's my custom column template :
Code:
{#yesno:|read by Joe:|,}{#read_jane:|read by Jane:|}
of course it expects to have a yesno column & a read_jane column
the two of them being yes/no columns that hold read/unread status

& don't forget to check the box "display in tag browser"

& if you need more than two of those then replicate the yesno part like this :

Code:
{#yesno:|read by Joe:|,}{#yesno2:|read by John:|,}{#read_jane:|read by Jane:|}
edit2: I believe the same could be done for dates to integrate some dates into the tag browser. Because YES I do love the tag browser, even though it's not hard to build your own searches, it's just must faster to work with
a column that would hold :
-if date = today => "today"
-if date = yesterday => "yesterday"
-if date > 1 week => "last week"

& so on.
it's yet another complicated model though xD

Last edited by whismerhill; 05-19-2016 at 05:17 PM.
whismerhill is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag Browser OldLincoln Library Management 6 01-16-2016 10:13 AM
Request for a small improvement. jbacelar Editor 2 10-08-2015 01:34 AM
Sorting tag values in tag browser mcam Library Management 15 08-25-2013 05:50 AM
Tag Browser Lady Fitzgerald Library Management 2 07-17-2012 11:54 PM
Request: Locking behavior for Tag Browser lenkost Library Management 16 08-25-2011 09:44 AM


All times are GMT -4. The time now is 06:16 PM.


MobileRead.com is a privately owned, operated and funded community.