bug-fix-patch-6

# Fixed search input hieght in user directory for all browsers
# Showing agents by ascending name order in ticket assign modal pop ups
This commit is contained in:
Manish Verma
2016-12-21 16:29:55 +05:30
parent d29ca0e626
commit df14836985
3 changed files with 3 additions and 3 deletions

View File

@@ -1074,7 +1074,7 @@ class UserController extends Controller
public function getAgentDetails()
{
$users = User::where('role', '<>', 'user')->where('active', '=', 1)->get();
$users = User::where('role', '<>', 'user')->where('active', '=', 1)->orderBy('first_name')->get();
foreach ($users as $user) {
echo "<option value='user_$user->id'>".$user->name().'</option>';
}

View File

@@ -1054,7 +1054,7 @@ alert(h+20);
<p>{!! Lang::get('lang.whome_do_you_want_to_assign_ticket') !!}?</p>
<select id="asssign" class="form-control" name="assign_to">
<?php
$assign = App\User::where('role', '!=', 'user')->where('active', '=', '1')->get();
$assign = App\User::where('role', '!=', 'user')->where('active', '=', '1')->orderBy('first_name')->get();
$count_assign = count($assign);
$teams = App\Model\helpdesk\Agent\Teams::where('status', '=', '1')->get();
$count_teams = count($teams);

View File

@@ -42,7 +42,7 @@ class="active"
<div class="col-md-5">
<div class="box-tools" style="width: 235px">
<div class="has-feedback">
<input type="text" class="form-control input-sm" id="search-text" name="search" placeholder="{{Lang::get('lang.search')}}">
<input type="text" class="form-control input-sm" id="search-text" name="search" placeholder="{{Lang::get('lang.search')}}" style="height:30px">
<span class="fa fa-search form-control-feedback"></span>
</div>
</div><!-- /.box-tools -->