Commit 49c18498ef7635c90c98da1b9da560a9422eef31
1 parent
7a644fe8
KTS-3757
"After a Bulk action was performed on folders in the Search results pane/view the user is returned to the original view where the folders search is shown in its previous state." Fixed. On completing the bulk action the return url calls refresh which repeats the search. Committed by: Megan Watson Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9470 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
9 additions
and
1 deletions
lib/actions/bulkaction.php
search2.php
| ... | ... | @@ -274,6 +274,14 @@ class SearchDispatcher extends KTStandardDispatcher { |
| 274 | 274 | redirect(KTUtil::kt_url().'/dashboard.php'); |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | + function do_refresh(){ | |
| 278 | + // Get query from session | |
| 279 | + $query = $_SESSION['search2_query']; | |
| 280 | + | |
| 281 | + $this->processQuery($query); | |
| 282 | + $this->redirectTo('searchResults'); | |
| 283 | + } | |
| 284 | + | |
| 277 | 285 | /** |
| 278 | 286 | * Processes a query sent by HTTP POST in searchQuery. |
| 279 | 287 | * | ... | ... |