fraank / ViewCounter

view and like functionality for your laravel project
Apache License 2.0
16 stars 7 forks source link

$limit parameter in MostLiked and MostViewed #3

Open jrbecart opened 8 years ago

jrbecart commented 8 years ago

Hello, How to use the $limit parameter in scopeMostLiked and scopeMostViewed function? I don't know what is it for.

fraank commented 8 years ago

You're right, the parameters are not used yet. I wanted to use them for limiting results when the model returns a huge dataset. I will implement it soon. Thanks for reviewing it!