Show
Ignore:
Timestamp:
03/13/10 12:31:24 (6 months ago)
Author:
erikj
Message:

prepare expanded search and sorting of query proxy models

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/camelot/view/elixir_admin.py

    r1146 r1186  
    169169                from elixir import entities 
    170170                mapped_entities = [str(e) for e in entities] 
    171                 logger.error(u'%s is not a mapped class, mapped classes include %s'%(self.entity, u','.join(mapped_entities)), 
     171                logger.error(u'%s is not a mapped class, mapped classes include %s'%(self.entity, u','.join([unicode(me) for me in mapped_entities])), 
    172172                             exc_info=exception) 
    173173                raise exception 
     
    401401                model = QueryTableProxy( 
    402402                    tableview.admin, 
    403                     tableview._table_model._query_getter, 
     403                    tableview._table_model.get_query_getter(), 
    404404                    tableview.admin.get_fields, 
    405405                    max_number_of_rows=1