~unifield-team/unifield-web/UTP-252

« back to all changes in this revision

Viewing changes to addons/openerp/widgets/listgrid.py

  • Committer: jf
  • Date: 2013-09-10 08:03:59 UTC
  • mfrom: (4712.1.8 web-jfb-utp-732-727)
  • Revision ID: jfb@tempo-consulting.fr-20130910080359-qkk1bz9nnxwnsm90
UTP-732 [IMP] Entering cash register closing balance (cash count) is extremely slow
UTP-727 [IMP]Error message appears when trying to display 500 entries on the same page (change limit)
lp:~unifield-team/unifield-web/jfb-utp-732-727

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        if not default_data and not self.o2m and not self.m2m:
174
174
            if self.limit > 0:
175
175
                if self.sort_key:
176
 
                    ids = proxy.search(search_param, self.offset, self.limit, self.sort_key + ' ' +self.sort_order, context)
 
176
                    ids = proxy.search(search_param, self.offset, self.limit, self.sort_key + ' ' +self.sort_order + ',id', context)
177
177
                else:
178
178
                    if search_text:
179
179
                        if self.source == '_terp_list':