Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-18-2011, 06:39 PM   #1
Mriswith2k
Junior Member
Mriswith2k began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
suggestion to change the default 'not' search behavior

I've been using Calibre for a while now without really exploring the saved search filters, and basicly had one big view of all the books.
I've Lately though started using (search) to filter and organise my books by searching using custom colums like 'Read'/'To Get' and also 'On Device'/'Tags' and so forth.
And one thing I'm finding mighty annoying is that when you select multiple searches, and use the 'not' trigger, it does a 'or not' search instead of 'and not'. example:
If I want to search my Action Genre for any Undread Books instead of turning into a
Code:
search:"=Genre:Action" and not search:"read:yes"
search that would give me all my unread Action Books.
It instead turns into
Code:
search:"=Genre:Action" or not search:"read:yes"
that gives me all my Action books and all my unread books.
My Suggestion would be to add a tweak that changes the behavior when doing a 'not' search into 'and not' from being 'or not'.

I also got another suggestive tweak and that is to add a tweak to make 'Author_Sort' only use the first Author it finds when sorting by 'Author' - 'Series', as the current behavior is quite messy for series with multiple authors for example:
Spoiler:

instead of how it currently turns out:
Spoiler:


I used to use a regular expression search to remove all the Authors after the first from Author_sort (Got the suggestion from here), but since I earlier today messed it up and had to manually rename 600 books :P (also starting to take a while due to a bigger library).
I thought I should just suggest a permanent solution.

Last edited by Mriswith2k; 03-18-2011 at 06:45 PM.
Mriswith2k is offline   Reply With Quote
Old 03-18-2011, 08:49 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: 25,756
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look below the tag browser.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 03-18-2011, 09:11 PM   #3
Mriswith2k
Junior Member
Mriswith2k began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Quote:
Originally Posted by kovidgoyal View Post
Look below the tag browser.
Er hmms, do you mean the Restrict to: Search, and then using the normal tags/genre's to filter ? (because this actually solved something else I was trying to figure out :P), but the fact that it still does 'or not' when you try to use 'not' filters still messes it up. (there proberbly is a good reason why it's like this, but personally I just can't figure it out tbh)

I'll just make another example to clearify.
If I filter my books by #genre:"=Science Fiction" (100 books) and I don't want to show #genre:"=Science Fiction.Military" (25 books)
The default 'or not' filter:
#genre:"=Science Fiction" or not #genre:"=Science Fiction.Military"
displays all books in all genre's (600+) except for the sub genre #genre:"=Science Fiction.Military"

Of course I could make a search out of every #genre:* and use that as the primary filter, but it would be more efficient if I could just combine current filters / genre's.

If I'm just completely missunderstanding/missing the solution you are pointing me towards sorry about it T_T

Last edited by Mriswith2k; 03-18-2011 at 09:16 PM.
Mriswith2k is offline   Reply With Quote
Old 03-18-2011, 09:22 PM   #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: 25,756
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
change the box that says Match any to Match allh
kovidgoyal is offline   Reply With Quote
Old 03-18-2011, 09:24 PM   #5
Mriswith2k
Junior Member
Mriswith2k began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Quote:
Originally Posted by kovidgoyal View Post
change the box that says Match any to Match allh
god T_T I fail, sry bout all that :P

And thanks for the help, Calibre is easily one of the best pieces of software I've ever used.
Mriswith2k is offline   Reply With Quote
Old 03-27-2011, 04:30 AM   #6
ptom
Member
ptom began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2011
Device: nook color
Is there a way to change this box permanently? So that one wouldn't have to click everytime on "match all" when restarting calibre? It's just that I hardly ever use "match any".
ptom is offline   Reply With Quote
Old 03-27-2011, 10:02 AM   #7
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: 25,756
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC calibre should be remembering the last used value, is that not the case?
kovidgoyal is offline   Reply With Quote
Old 03-27-2011, 10:06 AM   #8
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Not the case for me (0.7.52) - reverts back to Match any each restart
kiwidude is offline   Reply With Quote
Old 03-27-2011, 10:11 AM   #9
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: 25,756
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
OK open a ticket for it so I dont forget.
kovidgoyal is offline   Reply With Quote
Old 03-27-2011, 10:15 AM   #10
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Done.
https://bugs.launchpad.net/calibre/+bug/743645
kiwidude is offline   Reply With Quote
Old 03-27-2011, 10:26 AM   #11
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,479
Karma: 5567061
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by kovidgoyal View Post
IIRC calibre should be remembering the last used value, is that not the case?
Hasn't been that way for a long time.
Since I mostly use the default, I there was a reason
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 - change default google search jetfin Kindle Developer's Corner 29 11-12-2011 06:48 AM
change default search action Sachiko Kindle Developer's Corner 0 02-20-2011 11:16 AM
Strange page change behavior in 1.8 talios Kobo Reader 12 12-24-2010 08:55 AM
Changing default Add Book behavior - Comments? Starson17 Calibre 19 02-28-2010 04:00 PM
Page Change Behavior davlewis Sony Reader 5 05-09-2009 12:03 PM


All times are GMT -4. The time now is 11:08 PM.


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