Quote:
Originally Posted by capink
It is not clear what wanted here. Hierarchies cannot be displayed in list view.
If all you want is to separate or unpack the hierarchical genres into separate items, the solution would be a custom column with a template to replace the dot with ', '. You can use the following template to achieve this:
Code:
{#genre:'re($,'\.',', ')'}
|
That is, what I needed. No tree, just items separated by comas. Thank you very much.
Now, would it be possible to get rid of duplicates in some way? If a book has the following metadata:
Code:
Speculative fiction.Science fiction.Steampunk, Speculative fiction.Fantasy
Your template will return:
Code:
Speculative fiction, Science fiction, Steampunk, Speculative fiction, Fantasy
Is there a way to remove duplicates in such situations?