HomeHelpTrac

Changeset 15823 for trunk/modules


Ignore:
Timestamp:
01/04/12 05:02:30 (5 months ago)
Author:
Alexander Trofimov
Message:

Ticket #2699

Location:
trunk/modules/boonex
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/boonex/events/classes/BxEventsSearchResult.php

    r15211 r15823  
    4343            'owner' => array('value' => '', 'field' => 'ResponsibleID', 'operator' => '='), 
    4444            'tag' => array('value' => '', 'field' => 'Tags', 'operator' => 'against'), 
    45             'category' => array('value' => '', 'field' => 'Category', 'operator' => '='), 
     45            'category' => array('value' => '', 'field' => 'Category', 'operator' => '=', 'table' => 'sys_categories'), 
     46            'category_type' => array('value' => '', 'field' => 'Type', 'operator' => '=', 'table' => 'sys_categories'), 
    4647            'country' => array('value' => '', 'field' => 'Country', 'operator' => '='), 
    4748            'public' => array('value' => '', 'field' => 'allow_view_event_to', 'operator' => '='), 
     
    189190                    'joinFields' => '', 
    190191                ); 
     192                $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    191193                $this->aCurrent['restriction']['category']['value'] = $sValue; 
    192                 $this->aCurrent['restriction']['category']['table'] = 'sys_categories'; 
    193194                $sValue = $GLOBALS['MySQL']->unescape($sValue); 
    194195                $this->sBrowseUrl = "browse/category/" . title2uri($sValue); 
  • trunk/modules/boonex/groups/classes/BxGroupsSearchResult.php

    r15733 r15823  
    4646            'tag' => array('value' => '', 'field' => 'tags', 'operator' => 'against'), 
    4747            'category' => array('value' => '', 'field' => 'Category', 'operator' => '=', 'table' => 'sys_categories'), 
     48            'category_type' => array('value' => '', 'field' => 'Type', 'operator' => '=', 'table' => 'sys_categories'), 
    4849            'public' => array('value' => '', 'field' => 'allow_view_group_to', 'operator' => '='), 
    4950        ), 
     
    103104                    ); 
    104105 
     106                    $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name'];  
    105107                    $this->aCurrent['restriction']['category']['value'] = $sValue2; 
    106108                    if (is_array($sValue2)) { 
     
    197199                    'joinFields' => '', 
    198200                ); 
     201                $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    199202                $this->aCurrent['restriction']['category']['value'] = $sValue; 
    200203                $sValue = $GLOBALS['MySQL']->unescape($sValue); 
  • trunk/modules/boonex/store/classes/BxStoreSearchResult.php

    r15211 r15823  
    4444            'tag' => array('value' => '', 'field' => 'tags', 'operator' => 'against'), 
    4545            'category' => array('value' => '', 'field' => 'Category', 'operator' => '=', 'table' => 'sys_categories'), 
     46            'category_type' => array('value' => '', 'field' => 'Type', 'operator' => '=', 'table' => 'sys_categories'), 
    4647            'public' => array('value' => '', 'field' => 'allow_view_product_to', 'operator' => '='), 
    4748        ), 
     
    100101                        'joinFields' => '', 
    101102                    ); 
    102  
     103                    $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    103104                    $this->aCurrent['restriction']['category']['value'] = $sValue2; 
    104105                    if (is_array($sValue2)) { 
     
    148149                    'joinFields' => '', 
    149150                ); 
     151                $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    150152                $this->aCurrent['restriction']['category']['value'] = $sValue; 
    151153                $sValue = $GLOBALS['MySQL']->unescape($sValue); 
Note: See TracChangeset for help on using the changeset viewer.