Skip to content

Commit a3abc58

Browse files
committed
Bug: Complete ticket modal: Change status was not giving right passed status_id to url
1 parent 22f0dfb commit a3abc58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/tickets/show/script.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
6262
// Complete modal status_id change
6363
$('#ticket-complete-modal #status_id').change(function(){
64-
var url = '{{ route($setting->grab('main_route').'.edit', ['id' => $ticket->id, 'parameters' => 'complete/yes/status_id/']) }}';
64+
var url = '{{ route($setting->grab('main_route').'.edit', ['id' => $ticket->id]) . '/complete/yes/status_id/' }}';
6565
$('#ticket-complete-modal #edit-with-values')
66-
.prop('href', url + '/' + $(this).val());
66+
.prop('href', url + $(this).val());
6767
});
6868
6969
// Complete modal submit button

0 commit comments

Comments
 (0)