projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5bc39
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Tue, 24 Oct 2017 04:55:36 +0000
(12:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 24 Oct 2017 04:55:36 +0000
(12:55 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
463ea3e
..
2793761
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-94,7
+94,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
if(!empty($q['_with_dupe_count'])){
$this->dupe_id = 0;
- $this->selectAdd("(select count(*)+1 from Events
where Events
.dupe_id = {$tn}.id) as dupe_count");
+ $this->selectAdd("(select count(*)+1 from Events
ev_cnt where ev_cnt
.dupe_id = {$tn}.id) as dupe_count");
}
/*
if (!empty($q['query']['grouped']) && $q['query']['grouped'] == 'gr') {