Difference between revisions of "Template:JiraSearch/Helper/Sort"

From Second Life Wiki
Jump to: navigation, search
m (New page: {{#if: {{#vardefine:JSHS-field|{{#switch:{{{1|}}} |issuetype|Type=issuetype |issuekey|Key=issuekey |summary|Summary=summary |votes|Votes=votes |assignee|Assignee=assignee |reporter|Report...)
 
Line 43: Line 43:
 
{{#vardefine:JSHS-order|{{#if:{{#var:JSHS-field}}|{{#switch:{{#lc:{{{2|}}}}}|#default=|asc|ascending|+=ASC|desc|descending|-=DESC}}}}}}
 
{{#vardefine:JSHS-order|{{#if:{{#var:JSHS-field}}|{{#switch:{{#lc:{{{2|}}}}}|#default=|asc|ascending|+=ASC|desc|descending|-=DESC}}}}}}
  
}}{{#if:{{#var:JSHS-order}}|&sorter/field={{#var:JSHS-field}}&sorter/order={{#var:JSHS-order}}}}
+
}}{{#if:{{#var:JSHS-order}}|&sorter/field={{#var:JSHS-field}}&sorter/order={{#var:JSHS-order}}}}<noinclude>
 +
 
 +
{| {{Prettytable}}
 +
|+ Second Parameter Values (not case sensitive)
 +
|- {{Hl2}}
 +
! Ascending
 +
! Descending
 +
|-
 +
| +
 +
| -
 +
|-
 +
| asc
 +
| desc
 +
|-
 +
| ascending
 +
| descending
 +
|}
 +
 
 +
{| class="sortable" {{Prettytable}}
 +
|+ First Parameter Values
 +
|- {{Hl2}}
 +
! Value
 +
! Group
 +
|-
 +
|issuetype
 +
|issuetype
 +
|-
 +
|Type
 +
|issuetype
 +
|-
 +
|issuekey
 +
|issuekey
 +
|-
 +
|Key
 +
|issuekey
 +
|-
 +
|summary
 +
|summary
 +
|-
 +
|Summary
 +
|summary
 +
|-
 +
|votes
 +
|votes
 +
|-
 +
|Votes
 +
|votes
 +
|-
 +
|assignee
 +
|assignee
 +
|-
 +
|Assignee
 +
|assignee
 +
|-
 +
|reporter
 +
|reporter
 +
|-
 +
|Reporter
 +
|reporter
 +
|-
 +
|priority
 +
|priority
 +
|-
 +
|Priority
 +
|priority
 +
|-
 +
|status
 +
|status
 +
|-
 +
|Status
 +
|status
 +
|-
 +
|resolution
 +
|resolution
 +
|-
 +
|Resolution
 +
|resolution
 +
|-
 +
|created
 +
|created
 +
|-
 +
|Created
 +
|created
 +
|-
 +
|updated
 +
|updated
 +
|-
 +
|Updated
 +
|updated
 +
|-
 +
|versions
 +
|versions
 +
|-
 +
|Affects Versions
 +
|versions
 +
|-
 +
|Affects Version/s
 +
|versions
 +
|-
 +
|components
 +
|components
 +
|-
 +
|Components
 +
|components
 +
|-
 +
|Component/s
 +
|components
 +
|-
 +
|description
 +
|description
 +
|-
 +
|Description
 +
|description
 +
|-
 +
|duedate
 +
|duedate
 +
|-
 +
|Due Date
 +
|duedate
 +
|-
 +
|environment
 +
|environment
 +
|-
 +
|Environment
 +
|environment
 +
|-
 +
|fixVersions
 +
|fixVersions
 +
|-
 +
|Fix Versions
 +
|fixVersions
 +
|-
 +
|Fix Version
 +
|fixVersions
 +
|-
 +
|thumbnail
 +
|thumbnail
 +
|-
 +
|Images
 +
|thumbnail
 +
|-
 +
|issuelinks
 +
|issuelinks
 +
|-
 +
|Issue Links
 +
|issuelinks
 +
|-
 +
|project
 +
|project
 +
|-
 +
|Project
 +
|project
 +
|-
 +
|subtasks
 +
|subtasks
 +
|-
 +
|Sub-Tasks
 +
|subtasks
 +
|-
 +
|workratio
 +
|workratio
 +
|-
 +
|Work Ratio
 +
|workratio
 +
|-
 +
|customfield_10000
 +
|Linden Lab Issue ID
 +
|-
 +
|Linden Lab Issue ID
 +
|Linden Lab Issue ID
 +
|-
 +
|customfield_10001
 +
|Source Version
 +
|-
 +
|Source Version
 +
|Source Version
 +
|-
 +
|customfield_10002
 +
|Patch Attached
 +
|-
 +
|Patch Attached
 +
|Patch Attached
 +
|-
 +
|customfield_10020
 +
|Last Triaged
 +
|-
 +
|Last Triaged
 +
|Last Triaged
 +
|-
 +
|customfield_10030
 +
|Linden Lab Internal Branch
 +
|-
 +
|Linden Lab Internal Branch
 +
|Linden Lab Internal Branch
 +
|-
 +
|customfield_10040
 +
|Resolution Date
 +
|-
 +
|Resolution Date
 +
|Resolution Date
 +
|-
 +
|customfield_10041
 +
|Date of First Response
 +
|-
 +
|Date of First Response
 +
|Date of First Response
 +
|-
 +
|customfield_10050
 +
|Link to Source Article
 +
|-
 +
|Link to Source Article
 +
|Link to Source Article
 +
|-
 +
|customfield_10051
 +
|Suggested Due Date
 +
|-
 +
|Suggested Due Date
 +
|Suggested Due Date
 +
|-
 +
|customfield_10052
 +
|Link to Published Translation
 +
|-
 +
|Link to Published Translation
 +
|Link to Published Translation
 +
|-
 +
|customfield_10053
 +
|Third Party Issue Tracker URL
 +
|-
 +
|Third Party Issue Tracker URL
 +
|Third Party Issue Tracker URL
 +
|-
 +
|customfield_10060
 +
|Language
 +
|-
 +
|Language
 +
|Language
 +
|-
 +
|customfield_10061
 +
|Translation Type
 +
|-
 +
|Translation Type
 +
|Translation Type
 +
|-
 +
|customfield_10070
 +
|View Watcher
 +
|-
 +
|View Watcher
 +
|View Watcher
 +
|-
 +
|customfield_10071
 +
|View Voter
 +
|-
 +
|View Voter
 +
|View Voter
 +
|}
 +
</noinclude>

Revision as of 02:06, 22 May 2009


Second Parameter Values (not case sensitive)
Ascending Descending
+ -
asc desc
ascending descending
First Parameter Values
Value Group
issuetype issuetype
Type issuetype
issuekey issuekey
Key issuekey
summary summary
Summary summary
votes votes
Votes votes
assignee assignee
Assignee assignee
reporter reporter
Reporter reporter
priority priority
Priority priority
status status
Status status
resolution resolution
Resolution resolution
created created
Created created
updated updated
Updated updated
versions versions
Affects Versions versions
Affects Version/s versions
components components
Components components
Component/s components
description description
Description description
duedate duedate
Due Date duedate
environment environment
Environment environment
fixVersions fixVersions
Fix Versions fixVersions
Fix Version fixVersions
thumbnail thumbnail
Images thumbnail
issuelinks issuelinks
Issue Links issuelinks
project project
Project project
subtasks subtasks
Sub-Tasks subtasks
workratio workratio
Work Ratio workratio
customfield_10000 Linden Lab Issue ID
Linden Lab Issue ID Linden Lab Issue ID
customfield_10001 Source Version
Source Version Source Version
customfield_10002 Patch Attached
Patch Attached Patch Attached
customfield_10020 Last Triaged
Last Triaged Last Triaged
customfield_10030 Linden Lab Internal Branch
Linden Lab Internal Branch Linden Lab Internal Branch
customfield_10040 Resolution Date
Resolution Date Resolution Date
customfield_10041 Date of First Response
Date of First Response Date of First Response
customfield_10050 Link to Source Article
Link to Source Article Link to Source Article
customfield_10051 Suggested Due Date
Suggested Due Date Suggested Due Date
customfield_10052 Link to Published Translation
Link to Published Translation Link to Published Translation
customfield_10053 Third Party Issue Tracker URL
Third Party Issue Tracker URL Third Party Issue Tracker URL
customfield_10060 Language
Language Language
customfield_10061 Translation Type
Translation Type Translation Type
customfield_10070 View Watcher
View Watcher View Watcher
customfield_10071 View Voter
View Voter View Voter