I solved my issue by passing the page variable as a hidden field:
<form method="get">
<input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
<?php
$this->customers_obj->prepare_items();
$this->customers_obj->search_box('Search', 'search');
$this->customers_obj->display(); ?>
</form>
Related Posts:
- MySQL Database User: Which Privileges are needed?
- Database synchronization between dev/staging and production
- How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?
- Safest way to bulk delete post revisions
- How can I make a WordPress database portable and url independent?
- Why does $wpdb return strings for mysql integer values?
- Dealing with Many Meta Values, 30+
- When is it appropriate to create a new table in the WordPress database?
- Is it possible to switch the data layer within WordPress?
- store simple data in get_option()
- How to delete outdated, wrongly sized images in _wp_attachment_metadata?
- Have multiple local wordpress installs share a wp-content folder and database
- WP_list_table bulk_action get edit and delete
- Can’t update database after wordpress update from 3.8.1 to 4.4.1
- How to implement content from external database into WordPress text page? [closed]
- Cloning and syncing a WordPress website
- What actions affect files, DB, or both?
- How to fix unchanged URLs in Database after running serialized search and replace script?
- Merging WordPress posts from different databases
- Why are no posts showing despite my apparently correct DB restoration?
- Should non-WordPress data get its own DB?
- Who is responsible for data sanitization in WordPress development?
- Search and replace special characters (å,ä,ö) for image attachments only in database
- Retrieve data from the database to table such as comments in the admin control panel
- Localhost to Staging to Development Dynamic WP-CONFIG
- Setup 3 Sites To Connect To 1 Database and Share Data
- How to use default WP form elements to interact with custom DB table?
- Uknown meta entries in wp_postmeta
- creating new field on mysql
- Why user_pass column in wp_users table is varchar(64)
- Adding prefix to WordPress database tables breaks admin capabilities?
- Is my way to change WordPress server is correct?
- Can local WordPress installs share /wp-content/ folder and database?
- Add search bar to Custom Database Table in WordPress Dashboard
- Custom Post Type not showing anything added by code anymore?
- How to add checkbox with multiple values in table?
- SymmetricDS in dev + prod workflow?
- WordPress site migration – locked out of admin area
- A WP dev site that displays content from a live site’s database but cannot write to wp_posts?
- WordPress Migration – Issue with admin panel changes
- WordPress URL error for links
- WPCLI search and replace in a particlar site dir effect another site-dir
- Merging development site with live site
- One WP Database outside localhost and two connections
- Get id from database
- Share WordPress Database
- MySQL Database User: Which Privileges are needed?
- Recover Same WordPress Admin Password
- cannot access wp-admin after options table crash and repair
- Database Queries are crashing the server
- How to protect my credentials on my clients website
- How to resolve ORA-011033: ORACLE initialization or shutdown in progress
- Oracle SQL query for Date format
- Using wpdb to connect to a separate database
- Exclude drafts in all() view of edit.php
- Importing posts from old website to new conflicting post ID’s?
- Exporting revisions
- WP_Options ID high
- How to use multiple database in wordpress?
- Where is the “default attribute” values located in the phpMyAdmin in Woocommerce?
- Is removing orphaned wp_postmeta records safe?
- Does thumbnail regeneration edit the database?
- Using table lock with wp_insert_post?
- Are custom tables in the database overwritten when WordPress is updated to new versions?
- How do I get the posts within a certain year/date(with sql query)?
- Displaying BLOB PDF File
- Automatically exclude categories from metabox based on title
- WP CLI Core install – blank database
- Update from 4.5 to 4.6 failing
- Does auto_load to ‘no’ in wp_options improve performance
- Remove empty rows from the database
- Check if post id exist in table than only update instead of inserting new row
- Detail explanation of wordpress database fields and metatag list [closed]
- CreateOrUpdate in WordPress
- How to get a list of WordPress default database tables?
- Backing up WordPress database and files
- Creating and Using Tables in the WordPress Database
- Compare User meta_value with Product meta_value
- Storing user’s data on external database on other server
- How to insert a value to decimal type field using wpdb->prepare?
- Sql query to get all metadata for a post
- Where do I put my create_new_table function()?
- Having all “non-PHP” files on a different server
- syntax error for changing user role from database
- “wordpress error in establishing database connection” and missing tables
- get_option() does unserialize and don’t remove \
- Adding last value from Database as text in WordPress Page
- In the admin, how can you list thumbnails instead of titles for a custom post type?
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- Style Radio Buttons inside Edit Page (Custom Fields)
- Checking if the data already exsis in the wp database – custom plugin
- live site do not update after importing sql database
- How can I retrieve data from alternate database using wpdb class?
- User accounts for saving form data?
- Trying to edit a WP site locally using MAMP
- Log IP of users who click a button? [closed]
- DROP TABLE IF EXISTS `wp_options` error?
- Problem with form database connectivity
- Server database problem
- How to maintain development losing any user’s data