Skip to content

Pagination issue #265

Description

@shahasher

Bug Description:

i was trying to get results without query but have issue with the pagination, i have 40 records for year-2020 but the getTotal method is returning same as limit (20) should be 40 (year is attribute), also the [total_relation] => gte (should be equals)

$search->filter('year', 'equals', 2020)
              ->maxMatches(1000)
              ->limit(20)
              ->offset(0)
              ->get();

Manticore Search Version:

25.0.0

Client Version:

4.0.1

Have you tried the latest development version of Manticore Search and the client?

None

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

Details
  • [] Implementation completed
  • [] Tests developed
  • [] Documentation updated
  • [] Documentation reviewed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waitingWaiting for more details from issue author

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions