num_in_admin problem in tutorial
|Reported by:||bretthoerner@…||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It seems that when I changed the poll admin page to include the choices with num_in_admin=3, it didn't display 3 for existing polls.
Existing polls only show 1 new row more than the number of choices I already had. In other words, if my poll has no choices, it shows 1 blank row. If I had one choice, it shows one blank row after that (2 total), if I had 2 choices, it shows 1 blank row (3 total)... after that it's moot because num_in_admin=3 is fulfilled.
Here's an image showing my code vs what I got,
It should be noted that if I went to "Add New Poll", it would have 3 new empty choice slots, it just doesn't seem to work for existing polls...?
(I'm not sure if this would be 1.1 or what but I'm using svn-r844)