View Single Post
Old 07-01-2011, 07:54 AM   #230
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Is it possible to use the upload tags as shelves function using a custom column built from another column?

I have a custom column Read/Reading/Unread, built from a yes/no Read column (as described by sweetpea here). But when I try to select this column in the Edit Shelf/Tags Mappings dialog, it's not listed - only the tags column shows up.

In other words: I use a yes/no toggle in Calibre to track read status. A custom column translates this to Read/Reading/Unread. I would like this column to be the basis for my read/currently-reading/to-read shelves on GR. I hope my question is clear

Update: I changed a line in the plugin's source code to enable enumeration of composite columns. If anyone is interested, I pasted the code below. Do note that I have no idea if this can have negative side effects in some cases. Of course, it would be great if kiwidude could update the plugin with this change

Spoiler:
Config.py, line 1092, change

tags_custom_columns = self.get_custom_columns(['text'])

to

tags_custom_columns = self.get_custom_columns(['text', 'composite'])

Last edited by quisvir; 07-01-2011 at 11:56 AM.
quisvir is offline   Reply With Quote