← Back to team overview

mahara-contributors team mailing list archive

[Bug 1735256] A patch has been submitted for review

 

Patch for "17.10_STABLE" branch: https://reviews.mahara.org/8324

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1735256

Title:
  Elasticsearch results not displayed when on paginated page

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  Confirmed

Bug description:
  Problem: When doing a subsequent search in elasticsearch after
  paginating to non first page of initial results. If the new results
  are greater than 0 but less than 10 no results are displayed but the
  tab indicates results exist.

  To test:
  1) On a site with elasticsearch enabled and indexed - first do full search (by leaving search field blank) and have more than 10 results in 'Text' tab
  2) Go to page 2 of the results
  3) Now search again using search field above tabs (NOT the one at top of page) for something that appears in 'Text' tab only a few times, eg country for user
  4) Should display count in 'Text' tab but not the actual result.

  This is due to the ajax call not setting 'offset' back to 0 for the
  pagination

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1735256/+subscriptions


References