Merge branch 'seeddms-4.3.9' into develop

Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
	views/bootstrap/class.Search.php
This commit is contained in:
Uwe Steinmann 2014-07-23 20:26:37 +02:00
commit 6443b9aa8e
3 changed files with 873 additions and 870 deletions

1736
CHANGELOG

File diff suppressed because it is too large Load Diff

View File

@ -952,6 +952,9 @@ class SeedDMS_Core_DMS {
} else {
$docresult = array('totalDocs'=>0, 'docs'=>array());
}
} else {
$docresult = array('totalDocs'=>0, 'docs'=>array());
}
if($limit) {
$totalPages = (integer)(($totalDocs+$totalFolders)/$limit);
@ -1506,7 +1509,7 @@ class SeedDMS_Core_DMS {
* @return array array of notifications
*/
function getNotificationsByUser($user, $type=0) { /* {{{ */
$queryStr = "SELECT `tblNotify`.* FROM `tblNotify` ".
$queryStr = "SELECT `tblNotify`.* FROM `tblNotify` ".
"WHERE `tblNotify`.`userID` = ". $user->getID();
if($type) {
$queryStr .= " AND `tblNotify`.`targetType` = ". (int) $type;

View File

@ -261,6 +261,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
<td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td>
<td><?php $this->printAttributeEditField($attrdef, isset($attributes[$attrdef->getID()]) ? $attributes[$attrdef->getID()] : '') ?></td>
</tr>
<?php
}
}
@ -271,7 +272,6 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
</div>
</div>
</div>
<?php
/* First check if any of the folder filters are set. If it is,
* open the accordion.