Fixed regression when table size is set to 'view all'
typo fix
avoid magic number
Merge pull request #847 from Zentyal/jag/fix-table-view-all

Fixed regression when table size is set to 'view all'