Ignore:
Timestamp:
Jul 21, 2014, 11:01:05 PM (10 years ago)
Author:
rvelices
Message:

feqture 3101: Allow multi language tags to be recognized from selectize or metadata sync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/include/events.inc.php

    r27822 r29067  
    6969  }
    7070  return $arr;
     71}
     72
     73/**
     74 * Where clause to find tag by name
     75 */
     76function ed_name_like_where($where, $str)
     77{
     78  $where[] = 'name LIKE \''.$str.'[lang=%\'
     79  OR name LIKE \'%]'.$str.'[/lang]%\'';
     80  return $where;
    7181}
    7282
Note: See TracChangeset for help on using the changeset viewer.