![]() |
#1 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Modified Date on Titles.
I updated two books this morning, but next time I opened Calibre in the afternoon I didn't see them at the top when I clicked on "Modified" Column.
It was because they now show as oldest of 50 books modified TODAY and many of those titles not touched for ages! What has happened? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I have seen this if you accidentally change the case of a tag. All books using that tag will get their modified date updated.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I changed "Short story" to "short story" on tag on one book. I see all 48 extra ones have "short story" as one of the tags. This seems like strange behaviour. Would it change the "short story" tag to novella on ALL books if I edited one book/title?
Also it's only one of the tags on those books. Is there some logic to this I don't understand? If I edit a Series name or a Collection name it doesn't change all the books with the original match unless I select all the matching books and do Edit Meta data in Bulk. I don't like this behaviour. Your explanation certainly seems correct. |
![]() |
![]() |
![]() |
#4 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
collate nocase
In SQLite, you can indicate that a column should be case insensitive when you create the table by specifying collate nocase in the column definition.
Tags have always been 'collate nocase' in Calibre. DaltonST |
![]() |
![]() |
![]() |
#5 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,220
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
So if you edited short story to novella as a tag on one book, it would edit the tag for all books using that tag. Adding a new tag (novella) and deleting the old tag (short story) from the book is the procedure I follow. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Right, now I know. Delete and add, don't edit.
Thanks, DNSB |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
If I am following the thread correctly, that won't do what you want.
The "problem" is that as DaltonST points out, there can be at most one instance of a tag with a given spelling, ignoring case. If you delete the tag from a book then add it with a new case then if that tag exists on other books with different case then the tag will also change its case. You have only 2 choices:
I think there is zero chance that this behavior will change. |
![]() |
![]() |
![]() |
#8 | |
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:
@Quoth: There is option or tweak that related to this. If you set it, it is a little harder to accidentally change the case of a tag in the metadata editor. Unfortunately, I can't quickly see what it is. I think I have it set at home, so I'd have to check there. |
|
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,726
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
There are some tools in the JobSpy PI that wrangle the Modified Date.
And there's a Last Modified plugin from capink That's as much as I know about them. When I realised how calibre's Modified Date was used I decided to ignore its existence. In one of my libraries I have a Last Changed Date column, I edit metadata in the book list which means its easy to tab into that column and hit '=' when I deem it worthwhile. BR |
![]() |
![]() |
![]() |
#10 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Ah, so deletion & adding will STILL modify ALL the books with case-sensitive string match for the tag. Strange behaviour!
|
![]() |
![]() |
![]() |
#12 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Also what if I wanted the the same tag text in two or more variations of case? I don't understand why the tag editing behaves like this. No other column does? |
|
![]() |
![]() |
![]() |
#13 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#14 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
When you add a new tag, its name goes into the 'Tags' table and it is assigned an index-number. To make data management/searching easy, the entry is normalized (case insensitive). All the books refer to that Index-Number. FWIW almost all other lookup equipped fields do similar (just no case insensitivity). |
|
![]() |
![]() |
![]() |
#15 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I spent 20+ years designing & implementing Relational databases. The difference in how tags work vs editing a Series name or an Author name isn't inherent to using SQL, it's a design decision. It could create a new entry in the tag table rather than change the entry, that naturally all the titles use. I've not seen this behaviour on other columns. There may be sound logic to it. I don't really use tags and thus I haven't thought about it.
Editing an Author or Series only changes the title being edited, though perhaps I've never ONLY edited the case and maybe that behaves the same. Last edited by Quoth; 06-15-2022 at 10:29 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modified date column | annoporci | Calibre | 5 | 06-04-2020 09:51 PM |
Modified date | Klaas Vaak | Calibre | 11 | 06-25-2017 11:55 PM |
Can you search using Date Modified? | Miss A | Library Management | 2 | 03-28-2013 11:59 PM |
Date Added vs. Date Modified | aglaia761 | Calibre | 5 | 11-28-2010 05:34 AM |
Last Modified Date | jjansen | Calibre | 1 | 09-12-2010 10:16 PM |