If I click Machines -> Browse and end up at https://layers.openembedded.org/layerindex/branch/master/machines/?q=&browse=1, I only see machines that start with 'a' because the list isn't paginated.
We had to disable the existing pagination in: e86a2c2 "Drop django-bootstrap-pagination: incompatible" bd58fbe "bootstrap_pagination: disable via comment" because https://pypi.org/project/django-bootstrap-pagination/ is not compatible with Django 3+ (and definitely not with Django 4+). It was added in: f527692 "Replace custom pagination with django-bootstrap-pagination" but the prior code is probably also not what we want to do. The code (templates/layerindex/machines.html and friends) will have to be rewritten. A possible replacement candidate is concerning because it is marked as wanting a maintainer: https://pypi.org/project/django-pagination-bootstrap/ Pagination was also added to Django itself, so perhaps we are better off using that and not being beholden to third party plugins: https://docs.djangoproject.com/en/4.2/topics/pagination/ Related? Moving to newer bootstrap versions is also very tricky... updating to bootstrap4 was attempted but RRS was very hard to ferret out and bootstrap5 which dropped jquery usage, which is a major change.
As discussed with Piotr, transfering ownership for this bug.
Patch https://lists.yoctoproject.org/g/yocto-patches/message/3155
Merged: https://git.yoctoproject.org/layerindex-web/commit/?id=836f1eb3443a537e4abb68cd07dde76c18c84c76