projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd94d31
)
Changed DataObjects/I18n.php
author
Alan Knowles
<alan@roojs.com>
Mon, 15 Apr 2019 04:05:19 +0000
(12:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 15 Apr 2019 04:05:19 +0000
(12:05 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
3f52fb5
..
f24e1c1
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-140,6
+140,10
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
$this->whereAdd("upper(lval) LIKE '%{$v}%'");
}
+ if (!empty($q['query']['name_starts'])) {
+ $this->whereAdd("upper(lval) LIKE '". $this->escape($q['query']['name_starts']). "%'");
+ }
+
if (!empty($q['_filtered']) && !empty($this->ltype)) {
$cfg = $this->cfg();
$filter = $cfg[$this->ltype];