Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
06cce0a8
Commit
06cce0a8
authored
10 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
Add new statuses and flags on upgrade to 1.9.4
parent
87d64707
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/staff/ticket-view.inc.php
+1
-1
1 addition, 1 deletion
include/staff/ticket-view.inc.php
include/upgrader/streams/core/8f99b8bf-b3806687.task.php
+15
-1
15 additions, 1 deletion
include/upgrader/streams/core/8f99b8bf-b3806687.task.php
with
16 additions
and
2 deletions
include/staff/ticket-view.inc.php
+
1
−
1
View file @
06cce0a8
...
...
@@ -157,7 +157,7 @@ if($ticket->isOverdue())
<table
border=
"0"
cellspacing=
""
cellpadding=
"4"
width=
"100%"
>
<tr>
<th
width=
"100"
>
<?php
echo
__
(
'Status'
);
?>
:
</th>
<td>
<?php
echo
mb_convert_case
(
__
(
$ticket
->
getStatus
()
),
MB_CASE_TITLE
)
;
?>
</td>
<td>
<?php
echo
$ticket
->
getStatus
();
?>
</td>
</tr>
<tr>
<th>
<?php
echo
__
(
'Priority'
);
?>
:
</th>
...
...
This diff is collapsed.
Click to expand it.
include/upgrader/streams/core/8f99b8bf-b3806687.task.php
+
15
−
1
View file @
06cce0a8
...
...
@@ -8,7 +8,9 @@ class SequenceLoader extends MigrationTask {
var
$description
=
"Loading initial data for sequences"
;
function
run
(
$max_time
)
{
$i18n
=
new
Internationalization
(
'en_US'
);
global
$cfg
;
$i18n
=
new
Internationalization
(
$cfg
->
get
(
'system_language'
,
'en_US'
));
$sequences
=
$i18n
->
getTemplate
(
'sequence.yaml'
)
->
getData
();
foreach
(
$sequences
as
$s
)
{
Sequence
::
create
(
$s
)
->
save
();
...
...
@@ -16,6 +18,18 @@ class SequenceLoader extends MigrationTask {
db_query
(
'UPDATE '
.
SEQUENCE_TABLE
.
' SET `next`= '
.
'(SELECT MAX(ticket_id)+1 FROM '
.
TICKET_TABLE
.
') '
.
'WHERE `id`=1'
);
require_once
(
INCLUDE_DIR
.
'class.list.php'
);
$lists
=
$i18n
->
getTemplate
(
'list.yaml'
)
->
getData
();
foreach
(
$lists
as
$l
)
{
DynamicList
::
create
(
$l
);
}
$statuses
=
$i18n
->
getTemplate
(
'ticket_status.yaml'
)
->
getData
();
foreach
(
$statuses
as
$s
)
{
TicketStatus
::
__create
(
$s
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment