DataObjects/I18n.php
authorAlan Knowles <alan@roojs.com>
Tue, 21 Jan 2014 05:26:47 +0000 (13:26 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 Jan 2014 05:26:47 +0000 (13:26 +0800)
DataObjects/I18n.php

index a0724b7..0113ec7 100644 (file)
@@ -113,6 +113,14 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         
             $this->whereAdd("lval LIKE '". $this->escape($q['query']['name']). "%'");
         }
+        
+        if (!empty($q['_filtered']) && !empty($this->ltype)) {
+            $cfg = $this->cfg();
+            $filter = $cfg[$this->ltype];
+            print_R($filter);exit;
+            
+            
+        }
     }
     
     function translate($inlang,$ltype,$kval)