Improved: Improve the job search view with a better limit and a default sort
Adds a 50 items limit by default instead of 20
Adds a default sort on -runtime to have a look on the lasts jobs executed
Thanks: Carl Demus
@@ -78,12 +78,13 @@ under the License.
</form>
<form name="ListJobs" type="list" list-name="listIt" paginate-target="FindJob" default-entity-name="JobSandbox" separate-columns="true"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+ odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" view-size="50">
<actions>
+ <set field="orderBy" default-value="-runTime" from-field="parameters.sortField"/>
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="jobCtx"/>
<field-map field-name="entityName" value="JobSandbox"/>
- <field-map field-name="orderBy" from-field="parameters.sortField"/>
+ <field-map field-name="orderBy" from-field="orderBy"/>
<field-map field-name="viewIndex" from-field="viewIndex"/>
<field-map field-name="viewSize" from-field="viewSize"/>
</service>
