From a80f4090afe9f6045816e3b6f5ab80205cabdcd8 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 19 May 2015 19:41:40 +0200 Subject: [PATCH] add filter for documents in revision --- op/op.Search.php | 3 +++ views/bootstrap/class.Search.php | 1 + views/bootstrap/class.SearchForm.php | 1 + 3 files changed, 5 insertions(+) diff --git a/op/op.Search.php b/op/op.Search.php index c03cc4fdb..f3809faa3 100644 --- a/op/op.Search.php +++ b/op/op.Search.php @@ -329,6 +329,9 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) { if (isset($_GET["rejected"])){ $status[] = S_REJECTED; } + if (isset($_GET["inrevision"])){ + $status[] = S_IN_REVISION; + } if (isset($_GET["obsolete"])){ $status[] = S_OBSOLETE; } diff --git a/views/bootstrap/class.Search.php b/views/bootstrap/class.Search.php index 49d41af5a..248e6d3a9 100644 --- a/views/bootstrap/class.Search.php +++ b/views/bootstrap/class.Search.php @@ -251,6 +251,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style { + diff --git a/views/bootstrap/class.SearchForm.php b/views/bootstrap/class.SearchForm.php index a9ad210fb..fdb8110ea 100644 --- a/views/bootstrap/class.SearchForm.php +++ b/views/bootstrap/class.SearchForm.php @@ -139,6 +139,7 @@ function checkForm() +