View Single Post
Old 02-21-2023, 03:46 PM   #14
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
Quote:
Originally Posted by ownedbycats View Post
Yes, it can. Here's an entry called "Test.enum" (for enumerated) after the column was set to hierarchical in preferences > look & feel > tag browser.

Attachment 199848
So then this might be an option for delineating a hierarchical controlled vocabulary. The only caveat is that values cannot contain a comma. (If this is important to you then you could use some other character in its place which looks similar but will not be treated by Calibre as a comma. For example (but you could use other choices), a turned comma: ⸲)

I've just tested and confirmed that columns with a fixed set of permitted values can have that set of permitted values changed after creation. (This would seem to be important for something as broad as a Genre category, which I assume would occasionally throw up new genres that were not initially considered.)

Last edited by isarl; 02-21-2023 at 03:56 PM.
isarl is offline   Reply With Quote