on 10-04-2017 9:35 AM
Hi Nagarjuna,
As Sumit mentioned you can check the method for more info.
By default hybris OOB come up with this paginzation. we dont need to do any customization. If you want to change the page size and all for mobile and desktop then go to your storefront project.properties. You will find below entries. Check those and modify according to your need.
###########
# Search results page size configuration per store:
# Set to zero to load the default page size
storefront.search.pageSize.Desktop=0
# setting for mobile
storefront.search.pageSize.Mobile=20
# site specific settings
#storefront.search.pageSize.apparel-uk.Mobile=20
#storefront.search.pageSize.apparel-de.Mobile=20
#storefront.search.pageSize.electronics.Mobile=20
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For this you need to return SearchPageData(YourType)
You have to call getPagedFlexibleSearchService().search(sortQueries, sortCode, new HashMap(), pageableData) to get pageabledata.
Please check DefaultPagedB2BCustomerDao.java for reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.