Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-27-2022, 09:50 PM   #1
na-tt
Junior Member
na-tt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2022
Device: none
Question How to change Tag Browser filtering order

I have a user defined column called "Genre" under preferences > look & feel > Tag browser i have specified that Genre is a Category with Hierarchical items.

when you browse in the tag browser and click on a genre, for example, Nonfiction.Computer Science it shows a green plus sign and the search bar shows #genre:"=Nonfiction.Computer Science" and it only shows books with the exact Genre and not those that have a sub-genre like Nonfiction.Computer Science.Machine Learning.

In order to show all books belonging to a genre including those in sub-genres i have to click again, then the green plus sign changes to two green plus signs and the search bar shows #genre:"=.Nonfiction.Computer Science".

I wish to change the behavior of the tag browser such that when clicking on a Genre the first search filter applied is the two green plus signs and on a second click go to the single plus sign.

is this possible and how can i go about doing this?

Many thanks in advance.
na-tt is offline   Reply With Quote
Old 08-27-2022, 10:13 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I once requested something similar and was told that Qt issues made it not feasible.
ownedbycats is offline   Reply With Quote
Advert
Old 08-29-2022, 10:20 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by na-tt View Post
I wish to change the behavior of the tag browser such that when clicking on a Genre the first search filter applied is the two green plus signs and on a second click go to the single plus sign.

is this possible and how can i go about doing this?
Quote:
Originally Posted by ownedbycats View Post
I once requested something similar and was told that Qt issues made it not feasible.
Not that it matters, but I don't recall this request.

In any event, changing the order of the searches when clicking on an item isn't a Qt thing, and wasn't particularly hard as long as the behavior of a particular search didn't change. It is now in calibre source, with the setup on a new third tab in Prefs / L&F / Tag browser. While adding it I changed the contents of the other two tabs somewhat.
chaley is offline   Reply With Quote
Old 08-30-2022, 12:32 AM   #4
na-tt
Junior Member
na-tt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2022
Device: none
Quote:
Originally Posted by chaley View Post
It is now in calibre source, with the setup on a new third tab in Prefs / L&F / Tag browser. While adding it I changed the contents of the other two tabs somewhat.
I only see one tab in Prefs / L&F / Tag Browser (i'm on calibre 6.3 desktop windows 10), just to be sure by calibre source you mean the source code? so you actually went to the source code and added the feature? that's crazy, are you a calibre dev? cool.

if that's the case will this be making it's way to the next update?
na-tt is offline   Reply With Quote
Old 08-30-2022, 01:25 AM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by na-tt View Post
I only see one tab in Prefs / L&F / Tag Browser (i'm on calibre 6.3 desktop windows 10), just to be sure by calibre source you mean the source code? so you actually went to the source code and added the feature? that's crazy, are you a calibre dev? cool.

if that's the case will this be making it's way to the next update?
Very likely. Unlike Kovid Goyal who tends to post the location of the source code changes, chaley just lets us know it's been checked in. Either way, it's going to be in the next release. Umm... barring testing showing a showstopper bug in which case the change may either be scrapped or delayed.

If Kovid is sitting on the throne, Charles is sitting at his right hand.
DNSB is offline   Reply With Quote
Advert
Old 08-30-2022, 02:58 AM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@na-tt - if you want to keep an eye on what's coming keep your eye on this ==>> Commits · kovidgoyal/calibre

BR
BetterRed is offline   Reply With Quote
Old 08-30-2022, 10:32 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
@na-tt - if you want to keep an eye on what's coming keep your eye on this ==>> Commits · kovidgoyal/calibre

BR
Just for you, I added Ctrl-Up and Ctrl-Down keyboard accelerators to complement the arrows for the various reorderable lists in Preferences. I think I got them all.
chaley is offline   Reply With Quote
Old 08-30-2022, 05:48 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
Just for you, I added Ctrl-Up and Ctrl-Down keyboard accelerators to complement the arrows for the various reorderable lists in Preferences. I think I got them all.
You're too kind by half

Thanks - BR
BetterRed is offline   Reply With Quote
Old 08-30-2022, 05:57 PM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
You're too kind by half
Oh dear. I think I have been damned by faint praise. Oh well.
chaley is offline   Reply With Quote
Old 08-30-2022, 06:59 PM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Sutch is life
BetterRed is offline   Reply With Quote
Reply

Tags
tag browser


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag Browser display change robroy47 Calibre 2 05-19-2018 08:31 AM
Changing tag browser item order? arspr Calibre 4 09-13-2014 11:39 AM
A questions to - Tweak: tag browser category order MiniMouse Library Management 6 09-13-2014 08:59 AM
Tag browser categories order Noughty Library Management 11 08-17-2012 01:04 PM
Browser Bookmarks - Change Order? peterm Amazon Kindle 6 10-28-2010 07:57 AM


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


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