#36403: Admin actions displays "0 of NaN selected" when there are >=1000 
results on
a page
-----------------------------+-----------------------------------------
     Reporter:  nbelakovski  |                     Type:  Bug
       Status:  new          |                Component:  contrib.admin
      Version:  5.1          |                 Severity:  Normal
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+-----------------------------------------
 We prefer to list lots of objects on a page so that Ctrl+F works. It's a
 little slow but we like it. Most of our models don't even have 1000 rows,
 but at 1000 results on a page the text in the actions form at the top of
 the admin panel list page shows "0 of NaN selected". If I bring
 list_per_page down to 999, it's back to normal. Oddly it appears to flash
 with "1000" before reverting to NaN, and it's not some weird css thing,
 the text is literally NaN.

 999 works for us for now but this seems like a silly bug that's better
 fixed that worked around.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36403>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070196efac118d-280637ec-542e-4608-a29f-2c6e07f9e9d2-000000%40eu-central-1.amazonses.com.

Reply via email to