[patch] get_next_by_FIELD and get_previous_by_FIELD don't take params
|Reported by:||tom@…||Owned by:||adrian|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The docs for get_next/previous_by_FIELD state
Both methods accept optional keyword arguments, which should be in the format described in Field lookups above.
It's not clear what should will do, and anyway, they don't take keyword arguments. This patch makes the method do what I'd expect, which is to return the next/previous page that matches the passed filter params.