From 4814c5cefe778374c3209acb53d69fdd7d8b8698 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 2 Jun 2015 08:52:36 +0200 Subject: [PATCH] search for documents/folders only --- op/op.Search.php | 3 +++ views/bootstrap/class.Search.php | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/op/op.Search.php b/op/op.Search.php index 12e9a01ee..698e7a719 100644 --- a/op/op.Search.php +++ b/op/op.Search.php @@ -193,6 +193,9 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) { * are found */ $resultmode = 0x03; + if (isset($_GET["resultmode"]) && is_numeric($_GET["resultmode"])) { + $resultmode = $_GET['resultmode']; + } $mode = "AND"; if (isset($_GET["mode"]) && is_numeric($_GET["mode"]) && $_GET["mode"]==0) { diff --git a/views/bootstrap/class.Search.php b/views/bootstrap/class.Search.php index 51ec014a2..395700dc1 100644 --- a/views/bootstrap/class.Search.php +++ b/views/bootstrap/class.Search.php @@ -142,6 +142,16 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style { +: + + + + + : printFolderChooser("form1", M_READ, -1, $startfolder);?>