fixed #9219: Thingy After Save Search This Thing not showing all rows
This commit is contained in:
parent
8ba4f6ef70
commit
77aefb85e6
2 changed files with 6 additions and 1 deletions
|
|
@ -4,6 +4,8 @@
|
|||
- fixed #4173: fieldnames in profilefields can contain spaces
|
||||
- fixed #8811: Bug Tracker: Formatting is bad for the resolution form.
|
||||
- fixed #9235: Image Bug in rich text editor.
|
||||
- fixed #9219: Thingy After Save Search This Thing not showing all rows (SDH
|
||||
Consulting Group)
|
||||
|
||||
7.6.5
|
||||
- security: A problem was discovered and fixed in which users could email executable attachments to a collaboration system and then when viewed online, could execute them.
|
||||
|
|
|
|||
|
|
@ -3090,7 +3090,10 @@ sequenceNumber');
|
|||
}
|
||||
$query .= join(", ",map {$dbh->quote_identifier('field_'.$_->{fieldId})} @displayInSearchFields);
|
||||
$query .= " from ".$dbh->quote_identifier("Thingy_".$thingId);
|
||||
$query .= " where ".join(" and ",@constraints) if (scalar(@constraints) > 0);
|
||||
if($session->form->process('func') eq 'search'){
|
||||
# Don't add constraints when the search screen is displayed as an 'after save' option.
|
||||
$query .= " where ".join(" and ",@constraints) if (scalar(@constraints) > 0);
|
||||
}
|
||||
if ($orderBy){
|
||||
$query .= " order by ".$dbh->quote_identifier("field_".$orderBy);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue