AutoDirector forum

The AutoDirector support and advice forum

"all" button

Post Reply

Page: 1

Author Post
Member
Registered: Apr 2008
Posts: 67
Is there room for improving the number of cars in the "per page" display?
I have tweaked as allowable to change the number of cars on show from 5,10,20,40,200

so that hopefully 200 always allows the ability to list all the cars, but it might look "smarter" if there was an ALL button instead (or configurable option)?

I assume the database field for the site "maximum vehicles" could be used to determine the maximum, or a call to the db for "total number of records"

- then replace the result with the text "All".
display per page - 5,10,20, all

I tried hardcoding "all" but I became unstuck when I ended up with over 200 cars in the list!
hope that makes sense! :P
Administrator
Registered: Apr 2008
Posts: 324
It should be possible - although you could end up with seriously long pages. Leave it with me!
_______________
AutoDirector administrator
Administrator
Registered: Apr 2008
Posts: 324
This is now available in v1.8:

- "all" is the last option by default

- custom page size settings can also show "all" by setting a page size of 0 (zero)

- finally, unnecessary page sizes are no longer shown. For example, if you've got 8 cars, it will show 5 and 10, but not 20, 25, 50 etc.
_______________
AutoDirector administrator
Member
Registered: Apr 2008
Posts: 67
Once again, you suggest something and you get more than you asked for! Thanks Craig!

Post Reply

Page: 1