-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Pat,
so I the right usage is to perform a search query for each new page you
need while passing in the page parameter?
Because right now its implemented this way in my app:
Request from a live-searchbox via javascript -> perform the query ->
return results -> display all results without pagination in one long list
So I'm guessing I have to increment the results per page parameter a lot
to get everything with one query on one page?
thanks,
Steve
On 07/24/2012 06:17 PM, Pat Allan wrote:
> Hi Steve
>
> Just to confirm: are you passing through the page parameter to the
search call?
>
> Project.search '', :match_mode => :extended, :page => params[:page]
>
> Cheers
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJQDstsAAoJEPSIhhOKOJppaTEH/R2PQ+BftMkybvi791fFi8Pl
rQVOPaTqAah5R3VxXz/TJ+ty5bl7yXfIyu6u2UBxMne3BGGrGp2MP9+YbRegevl0
yjx13890tt+BLyQf8fzylnLzOi0Ef4Rkl0elRAH5u8MmQ+SLx2FGiy9wrwW/Imz2
uzP3LXIxtj3i6/sckEoZ9yg8PeVXsOwGObrFMV7XSDl27HvKYKNDR3Dikasq9ada
B40yoNGg3cF4UqRPJTIm+NOx/KvpyZJ9wcEwdOJa6IJG6vjLwBksM4krReYABF/t
7l57wQ8AC4SbLwi0Vk2Q1HfJ41R8omTzD2VqHTUx6kkQ5CvJhpC6h3PwhQlrQ5k=
=jsy2
-----END PGP SIGNATURE-----