Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2010, 08:55 AM   #1
atjnjk
Zealot
atjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enough
 
Posts: 107
Karma: 554
Join Date: Oct 2008
Device: none
Sorting Tweak

I've been trying to use this tweak:
Code:
sort_columns_at_startup = [('authors',0),('title',0)]
That and this "[('authors',0),('series',0)]" work.
But "[('date',0),('series',0)]" or "[('date',0),('series',0)]" doesn't seem to be working as it should.
Is this a bug?
atjnjk is offline   Reply With Quote
Old 08-30-2010, 10:10 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by atjnjk View Post
But "[('date',0),('series',0)]" or "[('date',0),('series',0)]" doesn't seem to be working as it should.
Is this a bug?
What is the difference between the two you say don't work. I think that date - series probably works fine. The devil is in the details you don't see. The metadata for date goes down to the second...

Code:
<meta content="2009-07-17T08:59:29+00:00" name="calibre:timestamp"/>
...not the day, thus if you sort by date, series will be a mute point unless all of the dates are the same down to the second and that doesn't happen during normal operation.

Last edited by DoctorOhh; 08-30-2010 at 10:12 AM.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-31-2010, 01:59 AM   #3
atjnjk
Zealot
atjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enough
 
Posts: 107
Karma: 554
Join Date: Oct 2008
Device: none
Sorry. It was "[('date',0),('series',0)]" or "[('date',0),('title',0)]".
Thank you very much for explaining. It's too bad we can't see the time in Calibre's GUI or have an option to sort only by date.

There is only one thing I don't understand. When sorting by authors,title or authors,series, there is an arrow next to the author column. But when sorting by date,title or date,series, the arrow is next to the title/series column (it should be next to the date column).

Last edited by atjnjk; 08-31-2010 at 02:27 AM.
atjnjk is offline   Reply With Quote
Old 08-31-2010, 04:32 AM   #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: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by atjnjk View Post
There is only one thing I don't understand. When sorting by authors,title or authors,series, there is an arrow next to the author column. But when sorting by date,title or date,series, the arrow is next to the title/series column (it should be next to the date column).
Thanks for persevering. There is in fact a problem here.

The internal name for 'date' is 'timestamp'. Normally when a column is sorted, one name is translated into another. Unfortunately, the sort at startup path does not go through that translation. Calibre tries to find a field named 'date', fails, and ignores it.

You can fix this now by using the name 'timestamp' instead of date.
chaley is offline   Reply With Quote
Old 08-31-2010, 05:13 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by chaley View Post
You can fix this now by using the name 'timestamp' instead of date.
Just wondering, does "timestamp" truncate down to the day only or does it include the time down to the second?
DoctorOhh is offline   Reply With Quote
Advert
Old 08-31-2010, 06:17 AM   #6
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: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by dwanthny View Post
Just wondering, does "timestamp" truncate down to the day only or does it include the time down to the second?
Your post a few back is correct, timestamp (date) includes time to the second.
chaley is offline   Reply With Quote
Old 08-31-2010, 06:36 AM   #7
atjnjk
Zealot
atjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enough
 
Posts: 107
Karma: 554
Join Date: Oct 2008
Device: none
Quote:
Originally Posted by chaley View Post
You can fix this now by using the name 'timestamp' instead of date.
Thanks a lot. This "[('timestamp',1),('series',0)]" works perfectly.
atjnjk is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Tweak ePub - new feature (0.7.20) GRiker Calibre 35 03-07-2012 08:56 AM
Tweak to User Manual edbro Calibre 1 07-24-2010 11:26 AM
Just a silly tweak: AUTORUN.INF for Windows Rootman Kindle Developer's Corner 3 12-04-2009 10:17 AM
Title Sorting / Author Sorting ahi Sony Reader 0 09-14-2009 01:51 PM
Firefox Tweak Guide Colin Dunstan Lounge 0 07-20-2004 12:01 PM


All times are GMT -4. The time now is 05:33 AM.


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