mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2011-06-15 Ramon Novoa <rnovoa@artica.es>
* operation/events/events_list.php: Merged from trunk. Do not show repeated comments when grouping events. Raise the maximum permitted result length for GROUP_CONCAT. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
61c25ee46f
commit
e324ecd7e6
@ -1,3 +1,9 @@
|
|||||||
|
2011-06-15 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* operation/events/events_list.php: Merged from trunk. Do not show
|
||||||
|
repeated comments when grouping events. Raise the maximum permitted
|
||||||
|
result length for GROUP_CONCAT.
|
||||||
|
|
||||||
2011-06-15 Ramon Novoa <rnovoa@artica.es>
|
2011-06-15 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* pandoradb.oracle.sql: Removed unneeded code.
|
* pandoradb.oracle.sql: Removed unneeded code.
|
||||||
|
@ -270,6 +270,7 @@ if ($group_rep == 0) {
|
|||||||
else {
|
else {
|
||||||
switch ($config["dbtype"]) {
|
switch ($config["dbtype"]) {
|
||||||
case "mysql":
|
case "mysql":
|
||||||
|
process_sql ('SET group_concat_max_len = 9999999');
|
||||||
$sql = "SELECT *, GROUP_CONCAT(DISTINCT user_comment SEPARATOR '') AS user_comment,
|
$sql = "SELECT *, GROUP_CONCAT(DISTINCT user_comment SEPARATOR '') AS user_comment,
|
||||||
MAX(estado) AS estado, COUNT(*) AS event_rep, MAX(utimestamp) AS timestamp_rep
|
MAX(estado) AS estado, COUNT(*) AS event_rep, MAX(utimestamp) AS timestamp_rep
|
||||||
FROM tevento
|
FROM tevento
|
||||||
|
Loading…
x
Reference in New Issue
Block a user