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

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-22-2013, 02:31 AM   #1
samoanbiscuit
Junior Member
samoanbiscuit began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2013
Device: Nexus 7
Question Calibre Companion sorting bug

Hi! Calibre companion allows grouping by custom columns, and while it groups some, it fails to group others. I use the fanficdownloader plugin to get epubs of arhiveofourown.org, and I use a custom column to record the date the fic was updated. It is stored as an actual date, and Calibre seems to sort it without any problems, but when I tried grouping it by #updated on ccompanion, it just shows a blank screen. Is it that the custom column sorting doesn't support that data type or am I doing something wrong?

Last edited by samoanbiscuit; 01-22-2013 at 02:45 AM.
samoanbiscuit is offline   Reply With Quote
Old 01-22-2013, 02:37 AM   #2
chaley
"chaley", not "charley"
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: 5,040
Karma: 802238
Join Date: Jan 2010
Location: France
Device: Many android devices
CC cannot group by dates. It doesn't make a lot of sense to attempt it as every book will have its own value, leading to a lot of groups with one book inside.

Last edited by chaley; 01-22-2013 at 03:52 AM. Reason: Change text to correspond to OP's changed post
chaley is offline   Reply With Quote
 
Enthusiast
Old 01-22-2013, 03:05 AM   #3
chaley
"chaley", not "charley"
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: 5,040
Karma: 802238
Join Date: Jan 2010
Location: France
Device: Many android devices
Idea: It might make sense to group by year or by year/month. This would give you groups that contain books within that period. The choice would be made by how many different groups you end up with. Getting too specific with the date will devolve to groups of one book.

If this is something you might want, then create a new custom column 'made from other columns'. Set the type to text. Do not check "Show in tag browser". Set the template to something like
Code:
{#updated:format_date(yyyy-MM)}
where the date format is the granularity you want. The above example gives you year-month. You must put the date components in order from most significant (year) to least significant (seconds). Add the lookup name of the new column to CC's group-by
chaley is offline   Reply With Quote
Old 01-22-2013, 03:50 AM   #4
chaley
"chaley", not "charley"
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: 5,040
Karma: 802238
Join Date: Jan 2010
Location: France
Device: Many android devices
I decided to add grouping date columns using the format "yyyy-MM" to CC. It will be in the next release (in a week or two). This change obviates the need to create the custom column unless you want a different grouping granularity.

Given that one can now group on dates, I also added the possibility of adding calibre's pubdate and date fields to the list of categories to group upon. The lookup names are "pubdate" and "date".

Apologies for all the posts. I have found that "edits" often aren't noticed.
chaley is offline   Reply With Quote
Old 01-23-2013, 09:04 AM   #5
samoanbiscuit
Junior Member
samoanbiscuit began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2013
Device: Nexus 7
Smile Thank you

Thank you so much for your prompt replies and the thought and effort you put into a solution. I wish you guys all the best with your app, and I'll be sure to promote your Android app to any (admittedly few) Calibre users I know in meatspace.
EDIT: I don't know if it's appropriate to ask another question after the thread has been resolved, but I was wondering, are there any plans for a dark theme for ccompanion? Because when going back from an ebook reader in night mode to ccompanion to choose another book can be quite painful on the eyes in a dark room., all that white is pretty bright.

Last edited by samoanbiscuit; 01-23-2013 at 09:19 AM. Reason: thought of a question to ask.
samoanbiscuit is offline   Reply With Quote
Reply

Tags
bug report, calibre companion, sorting

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre (or Calibre Companion) For Fetching News Directly Onto Android Tablets? mojumoka Devices 2 12-11-2012 12:18 PM
Calibre Companion Issues cyndersk Devices 8 12-04-2012 12:02 PM
[Android App] Calibre Companion Beta Bug manxam Devices 29 08-15-2012 12:48 PM
Sorting names with polish character - bug SnakeMM Calibre 5 02-27-2010 11:49 AM
Bug when sorting mores Calibre 8 10-13-2009 08:52 AM


All times are GMT -4. The time now is 04:41 PM.


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