You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ive just upgraded to the latest version of Easy Search + Elastic Search and everything work as normal except the pagination component, 2 seconds after the search results load the pagination component disappears.
Ive had a look into the issue and can see the count() property on the cursor that gets returned changes from the total search document count to the defaultSearchOptions limit after 2 second which is occurring in the setInterval in search-collection.js of easysearch:core.
In search-collection.js If i change { count: cursor.mongoCursor.count && cursor.mongoCursor.count() || 0 } to { count: cursor.count && cursor.count() || 0 } everything seem to work again.
Ive just upgraded to the latest version of Easy Search + Elastic Search and everything work as normal except the pagination component, 2 seconds after the search results load the pagination component disappears.
Ive had a look into the issue and can see the count() property on the cursor that gets returned changes from the total search document count to the defaultSearchOptions limit after 2 second which is occurring in the setInterval in search-collection.js of easysearch:core.
In search-collection.js If i change { count: cursor.mongoCursor.count && cursor.mongoCursor.count() || 0 } to { count: cursor.count && cursor.count() || 0 } everything seem to work again.
meteor-easy-search/packages/easysearch:core/lib/core/search-collection.js
Line 195 in 4829f47
Not sure if this is a bug or intender in the newer versions of ES.
The text was updated successfully, but these errors were encountered: