Merge branch 'develop' into tag_total_develop

This commit is contained in:
Suraj Shetty 2019-12-24 16:37:41 +05:30 committed by GitHub
commit 6bad84ee8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,10 +117,10 @@ export default class GridPagination {
let page_length = this.page_length;
if (this.grid.data.length == page_length*total_pages) {
this.go_to_page(total_pages + 1);
frappe.utils.scroll_to(this.wrapper);
} else {
this.go_to_page(total_pages);
}
frappe.utils.scroll_to(this.wrapper);
}
get_result_length() {