Commit 68482207599716c68cc0b77eaced313cb8823f72
1 parent
4a258577
KTS-3780
"When cancelling / returning from a bulk action in the tag cloud search the user is taken to the browse page" Fixed. Added the default option for building the return url - uses returnaction as the full url. Committed by: Megan Watson Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9569 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
0 deletions
lib/actions/bulkaction.php
| @@ -494,6 +494,9 @@ class KTBulkAction extends KTStandardDispatcher { | @@ -494,6 +494,9 @@ class KTBulkAction extends KTStandardDispatcher { | ||
| 494 | $sTargetUrl = KTBrowseUtil::getSearchResultURL(); | 494 | $sTargetUrl = KTBrowseUtil::getSearchResultURL(); |
| 495 | $sAction = 'refresh'; | 495 | $sAction = 'refresh'; |
| 496 | break; | 496 | break; |
| 497 | + default: | ||
| 498 | + $sTargetUrl = $sReturnAction; | ||
| 499 | + $sAction = ''; | ||
| 497 | } | 500 | } |
| 498 | 501 | ||
| 499 | $oForm = new KTForm; | 502 | $oForm = new KTForm; |