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
- What is the difference between an ORM and an ODM?
- Rename a table in MySQL
- How should I tackle –secure-file-priv in MySQL?
- Keeping WP database synced across multiple developers using git
- Is it possible to define two databases for one installation?
- Add content in custom post type page after the title and before columns
- Connect forms in WP to external database
- Hook into $wpdb
- How to get site URL if database is disconnected?
- Create a clickable name in WP_List_Table for Plugin Admin
- Is it wise to delete post revisions and autosaves from database?
- Using two different DB users on one WP install
- Usage of Direct Database Call Without Caching Error
- Custom search page and search by title, content and tag
- wp_options table has duplicate rows and primary key / autoincrement has been removed
- Using List Table Filters for ALL Custom Post Types
- What is the purpose of storing `siteurl` in database?
- Is there a way to see history of WordPress database changes?
- Where does the actual data stored by add_post_meta
- How to have an external DB read and get data from my wordpress database
- Import users from old WP site to new one
- is $wpdb->get_results() safe enough
- Can’t update WordFence Options, clear data manually
- Is it possible to have more than 1 MySQL database in my WordPress blog?
- Best practice to import user base (subscribers) from one website to another?
- AJAX wp-mysql running too slow
- Delete/Replace words from X to Y in post content
- Location of image metadata on my server
- How to create more than one new wpdb object?
- Multiple WordPress sites installs sharing the same database but with different content and domains
- Secure way to use name_save_pre?
- wpdb->insert not inserting first variable
- Database tables for sports betting integrated in WordPress
- How to use multiple check-box values to work in a function and insert values in database
- Help on conditional statement to accompany wp_insert_post function please?
- 404 errors when updating options in admin dashboard
- I want to replicate a wordpress website over multiple servers
- Is there anyway to split posts to different databases?
- wp-cli + valet: “Error establishing a database connection”
- Unable to login to a https website via the app after changing from http
- WP website showing blank page after moving from subdomain to main domain
- How to create a database table?
- Database error after importing WordPress
- Disable default posts (Posts,Pages,Comments and Media) in wp-admin
- Pulling values from a sepcific row in table
- Create hundreds of users with just ID in phpMyAdmin
- What is best for saving lot of extra detail of user?
- Insert Extra fields added in the front end registration form to DB
- WordPress Multisite platform for different city for single db