From ed5bf08b0a312cfc4bb6b885b0ca293d4b10869b Mon Sep 17 00:00:00 2001 From: Greg Froese Date: Mon, 8 Jun 2009 14:38:45 +0000 Subject: removed owner counts from mostviewed pages and updated view info on image view --- mostviewedimagesthismonth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mostviewedimagesthismonth.php') diff --git a/mostviewedimagesthismonth.php b/mostviewedimagesthismonth.php index 5bc9c7151..e950f0f20 100644 --- a/mostviewedimagesthismonth.php +++ b/mostviewedimagesthismonth.php @@ -26,7 +26,7 @@ FROM " . $prefix . "entities ent INNER JOIN " . $prefix . "entity_subtypes sub ON ent.subtype = sub.id AND sub.subtype = 'image' - INNER JOIN " . $prefix . "annotations ann1 ON ann1.entity_guid = ent.guid + INNER JOIN " . $prefix . "annotations ann1 ON ann1.entity_guid = ent.guid AND ann1.owner_guid != ent.owner_guid INNER JOIN " . $prefix . "metastrings ms ON ms.id = ann1.name_id AND ms.string = 'tp_view' WHERE ann1.time_created BETWEEN $time_info->start AND $time_info->end -- cgit v1.2.3