Skip to content

Returned null with paginateRaw after upgrading to 9.4.0 #573

@BertKooij

Description

@BertKooij
  • Scout Version: 9.4.0
  • Scout Driver: Algolia
  • Laravel Version: 8.79
  • PHP Version: 8.0
  • Database Driver & Version: SQL Server

Description:

paginateRaw returns null after upgrading to version 9.4.0. It is returning a valid paginator with version 9.3.4.

Steps To Reproduce:

$result = SpecificModel::search('')
  ->within('valid_index_name')
 ->with([
        'facets' => ['facet1', 'facet2'],
        'filters' => ''
    ])
   ->paginateRaw(50, 'page', 1);

$result === null; // true

Result in 9.3.4 is a valid pagination response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions