tickets sort by project fix on chrome
This commit is contained in:
parent
a0fbc90b97
commit
483b9e669c
1 changed files with 3 additions and 3 deletions
|
|
@ -13,10 +13,10 @@
|
|||
<a href="{{ route('ticket.index', ['status' => TicketStatus::archived()]) }}" class="float-right btn btn-sm btn-secondary mr-2">Tickets Archivés</a>
|
||||
@endif
|
||||
<div class="float-right mr-2">
|
||||
<select class="custom-select">
|
||||
<option value="-1" onclick="window.location='{{ route('ticket.index', ['prs' => '-1']) }}'">Tous</option>
|
||||
<select class="custom-select" onchange="window.location='{{ route('ticket.index') }}?'+(this.value == -1 ? 'prs=-1' : 'pr='+this.value);">
|
||||
<option value="-1">Tous</option>
|
||||
@foreach($projects as $project)
|
||||
<option value="{{$project->id}}" @if(intval(session('tickets.pr')) == $project->id)selected="selected" @endif onclick="window.location='{{ route('ticket.index', ['pr' => $project]) }}'">{{$project->name}}</option>
|
||||
<option value="{{$project->id}}" @if(intval(session('tickets.pr')) == $project->id)selected="selected" @endif>{{$project->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue