Changeset 28709 for trunk/search.php


Ignore:
Timestamp:
Jun 17, 2014, 1:11:44 PM (10 years ago)
Author:
plg
Message:

feature 3093: search form, ability to select the list of properties on which
the search terms applies.

feature 3094: minor redesign on search form.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/search.php

    r28708 r28709  
    4949  {
    5050    check_input_parameter('mode', $_POST, false, '/^(OR|AND)$/');
     51
     52    $fields = array_intersect($_POST['fields'], array('name', 'comment', 'file'));
    5153   
    5254    $drop_char_match = array(
     
    7072        ),
    7173      'mode' => $_POST['mode'],
     74      'fields' => $fields,
    7275      );
    7376  }
Note: See TracChangeset for help on using the changeset viewer.