![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2018
Device: none
|
Alphabetize tags on individual records
Hi! I'm wondering if it is possible to alphabetize the list of comma-separated tags on each record in Calibre (not the tag browser, but the tags applied to a book). Currently, it looks like Calibre keeps the tags in the order in which they were entered.
I am admittedly a serial folksonomist and apply lots of tags to my books, so as to help others filter down my collection. I'm hoping there's a tweak or script that can re-order the tags alphabetically in ascending order, for example: from: BOOK1 tags: c, d, a, b, e toBOOK2 tags: w, z, y, x BOOK3 tags: 4, 1, 2, 5, 6, 3 BOOK1 tags: a, b, c, d, e BOOK2 tags: w, x, y, z BOOK3 tags: 1, 2, 3, 4, 5, 6 Hopefully it is actually possible to accomplish this, but I'm not a very savvy/sophisticated user so I'm not sure. Thanks in advance! |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
There a list_sort function in the template language.
However, in the GUI the Tags are shown in sorted order in the book list, book details and edit metadata - where are you seeing them in the order they are stored? BR |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
@laszlopanaflex: If you open the tag editor from metadata editor (the button to the left of the tags field, that will sort the tags. That can be saved. |
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
So it does, if you enter them there.
If you enter them in the book list, they get shown as sorted immediately. I normally use the Tag Editor from the book list with shift+F2. Another good reason to edit the metadata in the booklist. BR |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Nope, a reason to avoid editing in the booklist. I'm the opposite and want the tags in the order I enter them. This is one of the reasons I always run from source.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2018
Device: none
|
*thumbs up emoji*
Fantastic - thank you! I've been editing the tags in the Metadata Editor directly into the "tags" field and have been getting lost with my haphazardly-applied tags. This helps very much.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alphabetize list of multiple authors for single book [anthologies] | meghane_e | Library Management | 7 | 06-22-2018 12:02 PM |
Alphabetize and clean a style sheet | roger64 | Sigil | 6 | 06-11-2012 11:47 AM |
Regex to selectively grab individual tags? | Sidetrack | Library Management | 1 | 05-02-2012 02:33 AM |
Exporting based on individual tags | BookJunkieLI | Library Management | 7 | 02-22-2012 04:18 PM |
Amazon Tags - Popular tags vs Unique tags. | chrisanthropic | Writers' Corner | 6 | 09-19-2011 11:18 PM |