Commits

Mark Lavin committed 75a01af

Change to return 'label' not 'name'.

Comments (0)

Files changed (1)

selectable/base.py

     def get_query(self, request):
         return []
 
-    def get_item_name(self, item):
+    def get_item_label(self, item):
         return smart_unicode(item)
 
     def get_item_id(self, item):
          return {
             'id': self.get_item_id(item),
             'value': self.get_item_value(item),
-            'name': self.get_item_name(item)
+            'label': self.get_item_label(item)
         }