View Single Post
Old 09-26-2010, 02:16 PM   #102
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: 12,482
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Starson17 View Post
Charles,
This is really low priority, but would it be possible to have a field reference {id} to reference the book ID? I've had a few cases where I want to access the ID.
If you're in that area of the code and feel like adding it, I'd use it. Thanks.
I actually thought it was already there. The problem was that we called it 'application_id' because that is what it must be for serialization. However, application_id isn't considered a displayable field, so you can't get to it.

I submitted the (one line) change to Kovid to put id into the Metadata using {id}.

Edit: code is in the serializer trunk, and will be in the next beta

Last edited by chaley; 09-26-2010 at 02:25 PM.
chaley is offline   Reply With Quote