Resetting the pager widget?

42 views
Skip to first unread message

Dave Kaye

unread,
Jan 15, 2015, 6:43:16 PM1/15/15
to ajax...@googlegroups.com
I'm having a strange problem with the pager widget that I can't figure out.

If the user creates a search that returns a large number of results and then refines that search we're getting an error where the paging widget is "past" the last result and so reports finding nothing and so does not return any results to doc -- even though it returns the correct number of results found.

I've tried a bunch of different function calls against both the Manager and Pager widgets but can't seem to either update or reset them.

Any thoughts?

James McKinney

unread,
Jan 16, 2015, 12:05:06 PM1/16/15
to ajax...@googlegroups.com
You can reset the “start” Solr parameter to 0 by calling self.manager.doRequest(0)


--
You received this message because you are subscribed to the Google Groups "ajax-solr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-solr+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dave Kanter

unread,
Jan 16, 2015, 12:48:43 PM1/16/15
to ajax...@googlegroups.com
That fixed it!  Thanks James!

--
You received this message because you are subscribed to a topic in the Google Groups "ajax-solr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ajax-solr/ymAtpWTvP3Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ajax-solr+...@googlegroups.com.

Dave Kanter

unread,
Jan 16, 2015, 5:16:16 PM1/16/15
to ajax...@googlegroups.com
Beautiful!  Thanks. All systems go. Wonderful project. Will be back to participate more. 

Dave. 

Sent through a series of tubes. 
You received this message because you are subscribed to a topic in the Google Groups "ajax-solr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ajax-solr/ymAtpWTvP3Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ajax-solr+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages