Commit 7f4065dd7e248790bd43495fa601a4fba4c7475a
1 parent
abc8e3f1
KTS-1621
"Error adding Workflow State in search criteria" Fixed. Removed double "ORDER BY" clause. Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6251 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/browse/Criteria.inc
| ... | ... | @@ -870,7 +870,7 @@ class WorkflowStateCriterion extends BrowseCriterion { |
| 870 | 870 | } |
| 871 | 871 | $sRet = $this->getNotWidget($aPreValue); |
| 872 | 872 | $sRet .= "<select size=\"1\" name=\"" . $this->getWidgetBase() . "\">\n"; |
| 873 | - $aStates = KTWorkflowState::getList("ORDER BY workflow_id"); | |
| 873 | + $aStates = KTWorkflowState::getList(); | |
| 874 | 874 | $sRet .= "<option value=\"-1\">None</option>\n"; |
| 875 | 875 | foreach ($aStates as $oState) { |
| 876 | 876 | $oWorkflow =& KTWorkflow::get($oState->getWorkflowId()); | ... | ... |