diff --git a/expert/field.py b/expert/field.py index d8d195c..251c1d8 100644 --- a/expert/field.py +++ b/expert/field.py @@ -93,7 +93,7 @@ class VocabularyField(Field): return value items = self.getVocabularyItems(row) for item in items: - if item['token'] == value: + if str(item['token']) == str(value): return item['title'] def getVocabularyItems(self, row): diff --git a/organize/work/README.txt b/organize/work/README.txt index be78def..5965094 100644 --- a/organize/work/README.txt +++ b/organize/work/README.txt @@ -280,9 +280,8 @@ We can now access the report using a results view. ... for col in resultsView.displayedColumns: ... print col.getDisplayValue(row), ... print - {'url': 'http://127.0.0.1/loops/views/home/.36', 'title': u'loops Development'} [] - - + {'url': 'http://127.0.0.1/loops/views/home/.36', 'title': u'loops Development'} + Fin de partie