HomeHelpTrac

Changeset 15822 for tags


Ignore:
Timestamp:
01/04/12 04:59:54 (5 months ago)
Author:
Alexander Trofimov
Message:

Ticket #2699

Location:
tags/7.0/modules/boonex
Files:
3 edited

Legend:

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

    r15200 r15822  
    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                ); 
    191                 $this->aCurrent['restriction']['category']['value'] = $sValue;                 
    192                 $this->aCurrent['restriction']['category']['table'] = 'sys_categories'; 
     192                $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
     193                $this->aCurrent['restriction']['category']['value'] = $sValue; 
    193194                $sValue = $GLOBALS['MySQL']->unescape($sValue); 
    194195                $this->sBrowseUrl = "browse/category/" . title2uri($sValue); 
  • tags/7.0/modules/boonex/groups/classes/BxGroupsSearchResult.php

    r15200 r15822  
    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_group_to', 'operator' => '='), 
    4748        ), 
     
    101102                    ); 
    102103 
     104                    $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    103105                    $this->aCurrent['restriction']['category']['value'] = $sValue2; 
    104106                    if (is_array($sValue2)) { 
     
    195197                    'joinFields' => '', 
    196198                ); 
     199                $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    197200                $this->aCurrent['restriction']['category']['value'] = $sValue; 
    198201                $sValue = $GLOBALS['MySQL']->unescape($sValue); 
  • tags/7.0/modules/boonex/store/classes/BxStoreSearchResult.php

    r15200 r15822  
    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        ), 
     
    101102                    ); 
    102103 
     104                    $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    103105                    $this->aCurrent['restriction']['category']['value'] = $sValue2; 
    104106                    if (is_array($sValue2)) { 
     
    148150                    'joinFields' => '', 
    149151                ); 
     152                $this->aCurrent['restriction']['category_type']['value'] = $this->aCurrent['name']; 
    150153                $this->aCurrent['restriction']['category']['value'] = $sValue; 
    151154                $sValue = $GLOBALS['MySQL']->unescape($sValue); 
Note: See TracChangeset for help on using the changeset viewer.