From 5daea144f2ab9654e9ebc9a9bea43d9c8110fcde Mon Sep 17 00:00:00 2001
From: Jacek Lebioda <jacek.lebioda.001@student.uni.lu>
Date: Wed, 23 Nov 2016 14:35:12 +0100
Subject: [PATCH] Templates - search in tables

---
 smash/web/templates/assignments/index.html    | 2 +-
 smash/web/templates/doctors/index.html        | 2 +-
 smash/web/templates/mail_templates/index.html | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/smash/web/templates/assignments/index.html b/smash/web/templates/assignments/index.html
index 9077c8cf..da1c1dba 100644
--- a/smash/web/templates/assignments/index.html
+++ b/smash/web/templates/assignments/index.html
@@ -115,7 +115,7 @@
 			$('#planning_table, #approaching_table').DataTable({
 			  "paging": true,
 			  "lengthChange": false,
-			  "searching": false,
+			  "searching": true,
 			  "ordering": true,
 			  "info": true,
 			  "autoWidth": false
diff --git a/smash/web/templates/doctors/index.html b/smash/web/templates/doctors/index.html
index fd3b3fd5..48940c86 100644
--- a/smash/web/templates/doctors/index.html
+++ b/smash/web/templates/doctors/index.html
@@ -102,7 +102,7 @@
 			$('#table').DataTable({
 			  "paging": true,
 			  "lengthChange": false,
-			  "searching": false,
+			  "searching": true,
 			  "ordering": true,
 			  "info": true,
 			  "autoWidth": false
diff --git a/smash/web/templates/mail_templates/index.html b/smash/web/templates/mail_templates/index.html
index 5f68b0a7..df8b0490 100644
--- a/smash/web/templates/mail_templates/index.html
+++ b/smash/web/templates/mail_templates/index.html
@@ -84,7 +84,7 @@
 			$('#table').DataTable({
 			  "paging": true,
 			  "lengthChange": false,
-			  "searching": false,
+			  "searching": true,
 			  "ordering": true,
 			  "info": true,
 			  "autoWidth": false
-- 
GitLab