Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
fix(search): added search support in filter dropdown in project, ta… (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MonikaInfyOm authored and ShaileshInfyom committed Sep 10, 2019
1 parent c0d128a commit 090d1d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions resources/assets/js/projects/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ $('#client_id,#edit_client_id').select2({
placeholder: "Select Client"
});

$('#filterClient').select2({
minimumResultsForSearch: -1
});
$('#filterClient').select2();

let tbl = $('#projects_table').DataTable({
processing: true,
Expand Down
3 changes: 2 additions & 1 deletion resources/assets/js/task/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ $(function () {
$('#no-record-info-msg').hide();
$('#user-drop-down-body').hide();

$('#filter_project,#filter_status,#filter_user').select2({
$('#filter_project,#filter_user').select2();
$('#filter_status').select2({
minimumResultsForSearch: -1
});
$('#assignTo,#editAssignTo').select2({
Expand Down
4 changes: 1 addition & 3 deletions resources/assets/js/time_entries/time_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ $('#timeProjectId,#editTimeProjectId').select2({
placeholder: "Select Project"
});

$('#filterActivity,#filterUser,#filter_project').select2({
minimumResultsForSearch: -1
});
$('#filterActivity,#filterUser,#filter_project').select2();

$('#activityTypeId,#editActivityTypeId').select2({
width: '100%',
Expand Down

0 comments on commit 090d1d0

Please sign in to comment.