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 09-21-2021, 10:35 AM   #1
straylight
Junior Member
straylight began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2019
Device: none
user defined category not showing up on tag browser

Hello,

I have a user defined category (Yes/No) that doesn't appear on the tag browser. I have other defined categories that appear with no issues but not my yes/no one. any ideas on how to make it appear?
straylight is offline   Reply With Quote
Old 09-21-2021, 11:17 AM   #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,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Booleans don't appear on the tag browser.

There's a workaround that you can use a composite column (column built from other column) and tick the 'show in tag browser' button. Something like this should work.

Code:
program:
	if
		check_yes_no('#mybool', 1, 0, 0)
	then
		'Undefined'

	elif
		check_yes_no('#mybool', 0, 1, 0)
	then
		'No'
	
	elif
		check_yes_no('#mybool', 0, 0, 1)
	then
		'Yes'
	fi

Last edited by ownedbycats; 09-21-2021 at 11:25 AM.
ownedbycats is offline   Reply With Quote
Advert
Old 09-21-2021, 01:08 PM   #3
straylight
Junior Member
straylight began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2019
Device: none
Thank you. Where can I find it in calibre?
straylight is offline   Reply With Quote
Old 09-21-2021, 01:21 PM   #4
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Booleans don't appear on the tag browser.

There's a workaround that you can use a composite column (column built from other column) and tick the 'show in tag browser' button. Something like this should work.
Another workaround is to use "Text with a fixed set of permitted values" with "Show Checkmarks" ticked.
chaley is offline   Reply With Quote
Old 09-21-2021, 01:44 PM   #5
straylight
Junior Member
straylight began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2019
Device: none
That worked. Thank you
straylight is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Category Ranges in Tag Browser BetterRed Library Management 7 10-18-2020 04:44 AM
Any way to unhide just one user category in the tag browser? ownedbycats Library Management 2 10-14-2020 09:10 PM
Show Category in Tag Browser MerlinMama Calibre 4 02-01-2016 11:11 AM
How do I delete a User-Defined tag? phossler Editor 7 04-19-2015 08:49 PM
Suggestion: Selecting a user-defined Category should show all of the books in it Daemon Calibre 6 08-23-2010 01:19 PM


All times are GMT -4. The time now is 03:46 PM.


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