mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
This commit is contained in:
commit
1db5675990
|
@ -116,6 +116,8 @@
|
|||
- update last access time only once a minute
|
||||
- run action 'css' in view if it exists, move css code for timeline
|
||||
- show role of users in user list and substitute user list
|
||||
- mysql sql_mode=only_full_group_by can be set without causing errors when
|
||||
creating a temporary table
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.34
|
||||
|
|
|
@ -373,8 +373,8 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
|
||||
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
|
||||
"FROM `tblDocumentReviewLog` ".
|
||||
"GROUP BY `tblDocumentReviewLog`.`reviewID` ".
|
||||
"ORDER BY `maxLogID`";
|
||||
"GROUP BY `tblDocumentReviewLog`.`reviewID` "; //.
|
||||
// "ORDER BY `maxLogID`";
|
||||
break;
|
||||
case 'pgsql':
|
||||
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttreviewid` (`reviewID` INTEGER, `maxLogID` INTEGER, PRIMARY KEY (`reviewID`));".
|
||||
|
@ -389,8 +389,8 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
|
||||
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
|
||||
"FROM `tblDocumentReviewLog` ".
|
||||
"GROUP BY `tblDocumentReviewLog`.`reviewID` ".
|
||||
"ORDER BY `maxLogID`";
|
||||
"GROUP BY `tblDocumentReviewLog`.`reviewID` "; //.
|
||||
// "ORDER BY `maxLogID`";
|
||||
}
|
||||
if (!$this->_ttreviewid) {
|
||||
if (!$this->getResult($queryStr))
|
||||
|
@ -414,8 +414,8 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
"SELECT `tblDocumentApproveLog`.`approveID`, ".
|
||||
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
|
||||
"FROM `tblDocumentApproveLog` ".
|
||||
"GROUP BY `tblDocumentApproveLog`.`approveID` ".
|
||||
"ORDER BY `maxLogID`";
|
||||
"GROUP BY `tblDocumentApproveLog`.`approveID` "; //.
|
||||
// "ORDER BY `maxLogID`";
|
||||
break;
|
||||
case 'pgsql':
|
||||
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttapproveid` (`approveID` INTEGER, `maxLogID` INTEGER, PRIMARY KEY (`approveID`));".
|
||||
|
@ -430,8 +430,8 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
"SELECT `tblDocumentApproveLog`.`approveID`, ".
|
||||
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
|
||||
"FROM `tblDocumentApproveLog` ".
|
||||
"GROUP BY `tblDocumentApproveLog`.`approveID` ".
|
||||
"ORDER BY `maxLogID`";
|
||||
"GROUP BY `tblDocumentApproveLog`.`approveID` "; //.
|
||||
// "ORDER BY `maxLogID`";
|
||||
}
|
||||
if (!$this->_ttapproveid) {
|
||||
if (!$this->getResult($queryStr))
|
||||
|
@ -455,8 +455,8 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
"SELECT `tblDocumentStatusLog`.`statusID` AS `statusID`, ".
|
||||
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
|
||||
"FROM `tblDocumentStatusLog` ".
|
||||
"GROUP BY `tblDocumentStatusLog`.`statusID` ".
|
||||
"ORDER BY `maxLogID`";
|
||||
"GROUP BY `tblDocumentStatusLog`.`statusID` "; //.
|
||||
// "ORDER BY `maxLogID`";
|
||||
break;
|
||||
case 'pgsql':
|
||||
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttstatid` (`statusID` INTEGER, `maxLogID` INTEGER, PRIMARY KEY (`statusID`));".
|
||||
|
@ -471,8 +471,8 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
"SELECT `tblDocumentStatusLog`.`statusID`, ".
|
||||
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
|
||||
"FROM `tblDocumentStatusLog` ".
|
||||
"GROUP BY `tblDocumentStatusLog`.`statusID` ".
|
||||
"ORDER BY `maxLogID`";
|
||||
"GROUP BY `tblDocumentStatusLog`.`statusID` "; //.
|
||||
// "ORDER BY `maxLogID`";
|
||||
}
|
||||
if (!$this->_ttstatid) {
|
||||
if (!$this->getResult($queryStr))
|
||||
|
|
|
@ -1201,6 +1201,7 @@ SeedDMS_Core_DMS::getDuplicateDocumentContent() returns complete document
|
|||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set
|
||||
</notes>
|
||||
</release>
|
||||
<release>
|
||||
|
|
Loading…
Reference in New Issue
Block a user