core
core copied to clipboard
$sitesearch.search doesn't set Took and index
Steps:
- Place the below code in a Widget to see the Site Search Results
set($searchresults = $sitesearch.search("Default","dotcms",0,100))
PRINTING SEARCH RESULTS VARIABLES
Start: $searchresults.start Total Results: $searchresults.totalResults Took: $searchresults.took Limit: $searchresults.limit Offset: $searchresults.offset MaxScore: $searchresults.maxScore Index: $searchresults.index
Please see http://screencast.com/t/Df4C6Q1tK
Test Info: Win7//H2DB//Chrome
Test: Use the tests in this issue to test pulls on index (see example in issue) http://qa.dotcms.com/index.php?/tests/view/103113
Issue is found in enterprise code, so issue fixed and committed there ref: https://github.com/dotCMS/enterprise-2.x/issues/197
Fixed, tested on master // MSSQL // FF