authgear-server: [Portal, Search] Error when click pagination on search result
Background
- Environment: Staging
- Testing app: demo-enterprise
- Test account: fung+qa@oursky.com
Description
When search in User Management and click pagination, it shows error Error: invalid character 'o' looking for beginning of value, not sure if it also happens on other search result pagination pages.
Steps to reproduce
- Go to User Management on portal
- Search with some text with many result
- Scroll down and click to the next page
- See error message
Expected result
Should be able to show the next page of result normally.
Video
User info is masked:
https://github.com/authgear/authgear-server/assets/12539486/e46f631b-c5ad-45e0-a9ef-893f4599ef6e
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (17 by maintainers)
Commits related to this issue
- Remove pagination in user search result ref #3176 — committed to authgear/authgear-server by louischan-oursky 3 years ago
- Reduce user search result items ref #3176 — committed to authgear/authgear-server by louischan-oursky 3 years ago
Hi @crys-tal Please help design the new pagination for when searching, When searching, the pagination buttons on the bottom-right part should disappear, and became a “Show more” button at the end of list
@fungc-io After discussed with louis, we think that letting user to select the page when searching user seems not very useful. If there are too many results, the user can just type more to reduce the results. Therefore we suggest to remove the pagination for search result in this screen and only display the top 100 items. Note that If the user didn’t type anything in the search bar the pagination can be keep. We can also display some text like “Search results are limited to 100 rows, please modify your keyword if you didn’t find what you want.” at the bottom to let user know the search result is not fully displayed. What do you think?