Project

General

Profile

Souhaits #907 » members.routes.php.diff

Alain Castera, 03/12/2019 05:12 PM

View differences:

members.routes.php 2019-03-11 17:56:37.000000000 +0100
492 492
                            }
493 493
                            $freed = true;
494 494
                        }
495
/** modification for multiple groups search*/
496
                    }  else if ( strpos($k, 'groups_', 0) === 0 ) {
497
                        if ( !$grouped ) {
498
                              $i = 0; $filters->groups_search_log_op = (int)$post['groups_logical_operator'];
499
                              foreach ( $post['groups_search'] as $g ) {
500
                                if ( trim($g) !== '') {
501
                                  $gs = array(      
502
                                  'idx'       => $i,
503
                                  'group'     => $g
504
                                  );
505
                                $filters->groups_search = $gs;
506
                                }
507
                                $i++;
508
                              }
509
                              $grouped = true;
510
                        }
511
/** end of modification for multiple group search */
495 512
                    } else {
496 513
                        switch ($k) {
497 514
                            case 'filter_field':
(8-8/11)