`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.
`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.