GamePulse: Your gaming universe awaits! 🎮🚀 Browse, explore, and engage with games based on categories, release dates, and sales numbers. Join the gaming community at GamePulse and stay connected with the pulse of gaming excitement! 💻🎉
MIT License
22
stars
30
forks
source link
Added AJAX to pagination/and dynamically gets the game list and filter from a partial file #51
I have created an Javascript file (assets/js/game_list.php) to handle showing the filtering, and the table itself.
No reload pagination
I have included pagination in AJAX so that every time it goes to the next page it does not reload any more.
To FIX! (for other contributors or me)
searching in the search bar does not display anything in the table, it returns the same data of games. But when I var_dump in filter_games.php with the ?search=game it shows the array of what user searchs...
When games are filtered update the list of the pages.
Needed to be fixed also is the sortation. Finding a way to sort it with ajax...
What I've done
Removed the filtering and table in game_list.php
No reload pagination
To FIX! (for other contributors or me)