Code review comment for lp:~openerp-dev/openerp-web/7.0-opw-589782-cbi

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

`limit + 1` is specifically to get one more record if there is, so `Search More` can be displayed if there are more than `this.limit` records in database. Otherwise can not know if there are more than this.limit records in database without second request.

To get 8 records, should just set limit to 8, not change limit in name_search.

review: Needs Fixing

« Back to merge proposal