Change how categorize.php works for sites with a lot of categories
- Status
- Open
- Subject
- Change how categorize.php works for sites with a lot of categories
- Version
- 21.x
- Category
- Usability
- Feature request
- Feature
- Category
- Resolution status
- New
- Submitted by
- Jonny Bradley
- Lastmod by
- Jonny Bradley
- Rating
- Description
I have a site where saving (or cancelling editing) a wiki page wasn't working, you just get the same tiki-editpage.php back... After a lot of searching i found it was due to a php.ini setting called
max_input_varswhich defaults to 1000. And this site now has 1016 categories! 😬My proposal is to make a better category picker which can use a hidden input to contain a comma separated list of the category id's selected as on single input, instead of having 1016 individual checkboxes on the form.
So let's find a nice, hierarchical picker to do this, maybe a Vue JS one? Or maybe this should be an extension of
object_selector_multi- Solution
- Cheap fix will be to add a threshold for maximum number of categories to show as checkboxes (def 800?) and when over that number use a
select[multiple] - Importance
- 2
- Easy to solve?
- 4
- Priority
- 8
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7311
- Created
- Thursday 05 March, 2020 13:32:44 UTC
by Jonny Bradley - LastModif
- Wednesday 14 April, 2021 15:39:22 UTC