Commit 107211997e33e4974f7debb3c9c57034202dd49b
1 parent
03ff2336
KTS-3201
"Ability to toggle between old 'browse view' search results, and 'search engine' results view" Implemented. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8307 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
0 deletions
resources/js/search2widget.js
| @@ -135,6 +135,10 @@ function createSearchBar(div, suffix) | @@ -135,6 +135,10 @@ function createSearchBar(div, suffix) | ||
| 135 | }) | 135 | }) |
| 136 | ] | 136 | ] |
| 137 | } | 137 | } |
| 138 | + }, | ||
| 139 | + { | ||
| 140 | + text: sSearchTranslations[13] , /*Toggle results format*/ | ||
| 141 | + handler: function() { document.location=rootURL + "/search2.php?action=searchResults&format=toggle"; } | ||
| 138 | } | 142 | } |
| 139 | ] | 143 | ] |
| 140 | }); | 144 | }); |