core icon indicating copy to clipboard operation
core copied to clipboard

$sitesearch.search doesn't set Took and index

Open prasadbhvn opened this issue 12 years ago • 2 comments

Steps:

  1. 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

prasadbhvn avatar Apr 15 '14 11:04 prasadbhvn

Issue is found in enterprise code, so issue fixed and committed there ref: https://github.com/dotCMS/enterprise-2.x/issues/197

ravit avatar Aug 05 '14 09:08 ravit

Fixed, tested on master // MSSQL // FF

bryanboza avatar Aug 07 '14 16:08 bryanboza