Changeset 1651655
- Timestamp:
- 05/05/2017 02:07:32 PM (9 years ago)
- Location:
- opentickets-community-edition/trunk
- Files:
-
- 3 edited
-
inc/sys/pages/system-status.page.php (modified) (5 diffs)
-
launcher.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
opentickets-community-edition/trunk/inc/sys/pages/system-status.page.php
r1634310 r1651655 336 336 <div class="field"> 337 337 <label><?php _e( 'Select an Event', 'opentickets-community-edition' ) ?></label> 338 < input type="hidden" name="event_id" value="" class="use-select2" data-action="qsot-adv-tools" data-sa="find-events" />338 <select name="event_id" value="" class="use-select2" data-action="qsot-adv-tools" data-sa="find-events"></select> 339 339 </div> 340 340 … … 363 363 case 'find-events': 364 364 // if there is no query, return no results 365 if ( ! isset( $_POST['q'] ) || empty( $_POST['q'] ) )365 if ( ! isset( $_POST['q'], $_POST['q']['term'] ) || empty( $_POST['q']['term'] ) ) 366 366 wp_send_json( array( 's' => true, 'r' => array() ) ); 367 367 … … 374 374 'paged' => $_POST['page'], 375 375 'fields' => 'ids', 376 's' => $_POST['q'] ,376 's' => $_POST['q']['term'], 377 377 'meta_key' => '_start', 378 378 'order' => 'asc', … … 401 401 $none = array( 'id' => 0, 'text' => __( '(none)', 'opentickets-community-edition' ) ); 402 402 // if there is no query, return no results 403 if ( ! isset( $_POST['q'] ) || empty( $_POST['q'] ) )403 if ( ! isset( $_POST['q'], $_POST['q']['term'] ) || empty( $_POST['q']['term'] ) ) 404 404 wp_send_json( array( 's' => true, 'r' => array() ) ); 405 405 406 $qs = preg_split( '#\s+#', $_POST['q'] );406 $qs = preg_split( '#\s+#', $_POST['q']['term'] ); 407 407 $by_id = $by_name = $by_meta = array(); 408 408 $ids = array_filter( array_map( 'absint', $qs ) ); … … 475 475 $none = array( 'id' => 0, 'text' => __( '(none)', 'opentickets-community-edition' ) ); 476 476 // if there is no query, return no results 477 if ( ! isset( $_POST['q'] ) || empty( $_POST['q'] ) )477 if ( ! isset( $_POST['q'], $_POST['q']['term'] ) || empty( $_POST['q']['term'] ) ) 478 478 wp_send_json( array( 's' => true, 'r' => array() ) ); 479 479 480 $qs = preg_split( '#\s+#', $_POST['q'] );480 $qs = preg_split( '#\s+#', $_POST['q']['term'] ); 481 481 // setup the base query parts 482 482 global $wpdb; -
opentickets-community-edition/trunk/launcher.php
r1647408 r1651655 4 4 * Plugin URI: http://opentickets.com/ 5 5 * Description: Event Management and Online Ticket Sales Platform 6 * Version: 2.8. 26 * Version: 2.8.3 7 7 * Author: Quadshot Software LLC 8 8 * Author URI: http://quadshot.com/ … … 55 55 'fctm' => 'fc', 56 56 'always_reserve' => 0, 57 'version' => '2.8. 2',57 'version' => '2.8.3', 58 58 'min_wc_version' => '2.6.14', 59 59 'core_post_type' => 'qsot-event', -
opentickets-community-edition/trunk/readme.txt
r1647408 r1651655 171 171 172 172 == Changelog == 173 174 = 2.8.3 - May/5/2017 = 175 * [fix] repairing advanced tools event search 173 176 174 177 = 2.8.2 - Apr/28/2017 =
Note: See TracChangeset
for help on using the changeset viewer.