Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Staff Interface
-
Labels:None
Description
When options are fetched for configuration we should also fetch a list of conditionals for the current package (i.e. http://host/blesta/package_options/logic/5), which would return a JSON structure containing the logic for all options in the supplied package.
[
{
"option_id": 1,
"trigger_option_id": 2
"condition": "=",
"value": "1024",
"trigger": "show",
},
{
"option_id": 2,
"trigger_option_id": 3
"condition": "=",
"value": "option value",
"trigger": "show",
}
]
Abstracting config option display would be nice
Activity
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Staff Interface [ 10000 ] |
| Fix Version/s | Sponsored [ 11113 ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Remaining Estimate | 0 minutes [ 0 ] | |
| Time Spent | 1 hour, 1 minute [ 3660 ] | |
| Worklog Id | 14827 [ 14827 ] |
| Time Spent | 1 hour, 1 minute [ 3660 ] | 1 day, 10 minutes [ 29400 ] |
| Worklog Id | 14829 [ 14829 ] |
| Time Spent | 1 day, 10 minutes [ 29400 ] | 1 day, 1 hour, 45 minutes [ 35100 ] |
| Worklog Id | 14839 [ 14839 ] |
| Time Spent | 1 day, 1 hour, 45 minutes [ 35100 ] | 2 days, 23 minutes [ 58980 ] |
| Worklog Id | 14850 [ 14850 ] |
| Time Spent | 2 days, 23 minutes [ 58980 ] | 2 days, 2 hours, 31 minutes [ 66660 ] |
| Worklog Id | 14851 [ 14851 ] |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |