Commit 6a9a9fef authored by anthony's avatar anthony

Fix (case list) all versions filter

- fix archived cases

Covers [BPO-202](https://bonitasoft.atlassian.net/browse/BPO-202)
parent 4b33a2a6
......@@ -9,7 +9,7 @@
<ul class="dropdown-menu" role="menu">
<li ng-click="filterCtrl.selectApp(defaultFilters.appName, defaultFilters.appName)"><a>{{defaultFilters.appName | translate}}</a></li>
<li ng-if="appNames &amp;&amp; appNames.length>0" class="divider"></li>
<li ng-repeat="appName in appNames" ng-click="filterCtrl.selectApp(appName[0], appName[1])"><a>{{appName[0]}} ({{appName[1]}})</a></li>
<li ng-repeat="appName in appNames" ng-click="filterCtrl.selectApp(appName[0], appName[1])"><a>{{appName[0]}}<span ng-if="appName[1] !== appName[0]"> ({{appName[1] | translate}})</span></a></li>
</ul>
</div>
</span>
......
......@@ -8,7 +8,7 @@
<ul class="dropdown-menu" role="menu">
<li ng-click="filterCtrl.selectApp(defaultFilters.appName, defaultFilters.appName)"><a>{{defaultFilters.appName | translate}}</a></li>
<li ng-if="appNames &amp;&amp; appNames.length>0" class="divider"></li>
<li ng-repeat="appName in appNames" ng-click="filterCtrl.selectApp(appName[0], appName[1])"><a>{{appName[0]}} <span ng-if="appName[1] !== appName[0]">({{appName[1] | translate}})</span></a></li>
<li ng-repeat="appName in appNames" ng-click="filterCtrl.selectApp(appName[0], appName[1])"><a>{{appName[0]}}<span ng-if="appName[1] !== appName[0]"> ({{appName[1] | translate}})</span></a></li>
</ul>
</div>
</span>
......
......@@ -51,8 +51,8 @@
</td>
<td class="text-right case-detail"><a id="case-detail-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToCase(case)}}">{{case['ID']}}</a></td>
<td class="case-detail"><a id="case-process-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToProcess(case)}}">{{case.processDefinitionId.name}}</a></td>
<td class="case-detail"><a id="case-process-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToProcess(case)}}">{{case.processDefinitionId.displayName}}</a></td>
<td class="case-detail"><a id="case-process-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToProcess(case)}}">{{case.processDefinitionId.name}}</a></td>
<td class="case-detail"><a id="case-process-display-name-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToProcess(case)}}">{{case.processDefinitionId.displayName}}</a></td>
<td class="case-detail">{{::case['Version']}}</td>
<td class="case-detail">{{::caseCtrl.parseAndFormat(case['Start date'])}}</td>
<td class="case-detail" title="{{'username:' | translate}} {{::case['Started by'] || ('System' | translate)}}">{{::case['Started by fullname'] || ('System' | translate)}}</td>
......@@ -127,7 +127,7 @@
<td class="case-detail text-right"><a id="case-detail-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToCase(case)}}">{{case['ID']}}</a></td>
<td class="case-detail"><a id="case-process-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToProcess(case)}}">{{case.processDefinitionId.name}}</a></td>
<td class="case-detail"><a id="case-process-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToProcess(case)}}">{{case.processDefinitionId.displayName}}</a></td>
<td class="case-detail"><a id="case-process-display-name-link-{{case.id}}" target="_parent" href="{{::caseCtrl.getLinkToProcess(case)}}">{{case.processDefinitionId.displayName}}</a></td>
<td class="case-detail">{{::case['Version']}}</td>
<td class="case-detail">{{::caseCtrl.parseAndFormat(case['Start date'])}}</td>
<td class="case-detail" title="{{'username:' | translate}} {{::case['Started by'] || ('System' | translate)}}">{{::case['Started by fullname'] || ('System' | translate)}}</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment