From a5802eb0776897d494008309ac2d6ad80ac8c8be Mon Sep 17 00:00:00 2001 From: j Date: Tue, 5 Jan 2016 22:27:59 +0530 Subject: [PATCH] fix meta keys --- oml/item/models.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/oml/item/models.py b/oml/item/models.py index 51035c6..3cb999c 100644 --- a/oml/item/models.py +++ b/oml/item/models.py @@ -243,8 +243,16 @@ class Item(db.Model): state.db.session.commit() meta_keys = ( - 'title', 'author', 'date', 'publisher', 'edition', - 'language', 'description', 'classification' + 'author', + 'classification', + 'date', + 'description', + 'edition', + 'language', + 'pages', + 'place', + 'publisher', + 'title' ) def update_meta(self, data):