stable

Clone or download

Read-only

request #7896: refactoring search redirection

- @see unit test cases - if my project is indexed then search whilst in wiki service should take me to full text search; - if my project is not indexed then search whilst in wiki service should take me to classic wiki search; - I should always go to fulltext search from docman for all projects (if active and lab-mode and flamingParrot); - I should always go to fulltext search from tracker for all projects (if active and lab-mode and flamingParrot); - All other services should take me to classic search including : - Tv3 search should take me to classic search; - Mediawiki search should take me to mediawiki search; Change-Id: I87499ed526d991c774c90546cb5c057eeeffc981

Modified Files

Name
M plugins/docman/include/view/Docman_View_Header.class.php +2 −1 Go to diff View file
A plugins/fulltextsearch/include/FullTextSearch/TypeOfSearchCalculator.class.php +69 −0 Go to diff View file
M plugins/fulltextsearch/include/autoload.php +3 −2 Go to diff View file
M plugins/fulltextsearch/include/fulltextsearchPlugin.class.php +20 −23 Go to diff View file
A plugins/fulltextsearch/tests/FullTextSearch/TypeOfSearchCalculatorTest.php +130 −0 Go to diff View file
M plugins/tracker/include/ServiceTracker.class.php +5 −0 Go to diff View file
M src/common/event/Event.class.php +11 −0 Go to diff View file
M src/common/search/SearchQuery.class.php +1 −16 Go to diff View file
M src/common/wiki/views/WikiViews.class.php +2 −0 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +19 −0 Go to diff View file