Fixes #4232 : store number of items per line + optionnal filters