Laravel Product Pagination Troubleshooting

Job ID: 38927686

Budget: $10 – $30 USD

here is the webiste link : https://ebusuleyman.com/


We are encountering an issue with our pagination and category filtering functionality. When a user is on the first page of the pagination and selects a category, the items are filtered and displayed correctly based on the selected category. However, when the user navigates to any subsequent pagination pages and then attempts to select a category, no items are displayed.

Steps to Reproduce:

Navigate to the first page of the pagination.

Click on any category to filter items – items are displayed correctly based on the selected category.

Navigate to any subsequent pagination page (e.g., page 2).

Click on any category to filter items – no items are displayed.

Expected Behavior: Items should be filtered and displayed based on the selected category regardless of the pagination page the user is on.

Actual Behavior: Filtering by category works correctly only on the first page of the pagination. On subsequent pages, clicking on a category does not display any items.
Related categories: PHP JavaScript Software Architecture MySQL Laravel