View Single Post
Old 05-14-2016, 12:59 AM   #167
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@melovesflying: Err, why use a CS column type? Why not a simple tristate one (i.e., Yes/No/??).

I vaguely remember that those are stored as an int, maybe, so just check create & match on True or 1 and voilą? [EDIT: Plus a bit of regex name switch to avoid the collection being named "1" or "True" or whatever is the actual underlying data type].

It's very late/early here, so take that w/ a grain of salt...
On the plus side, I do use a column like that in my own setup, even if I never based collections on it (I think?), so I might be able to check how much sense I'm making...

---

Barring that, you're missing a "match on" for the actual value stored in your column when a book is actually read to do anything useful. (Maybe? Brain is mush here).

Last edited by NiLuJe; 05-14-2016 at 12:22 PM.
NiLuJe is offline   Reply With Quote