The site has moved to a new server, and there are now some issues to fix. Please report anything needing fixing with a comment to the homepage.



The Chess Variant Pages




[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Chess Variants Query. More options for searching in these pages.[All Comments] [Add Comment or Rating]
Fergus Duniho wrote on 2022-10-26 UTC

I've been working on updating the form that appears after the search results. I have used flexboxes to organize the form elements, and I have added some JavaScript. When the form is submitted, it will disable any fields with empty or zero values, because this keeps the query string cleaner, and these will be provided with appropriate defaults if left unassigned. Also, when you check a checkbox that is mutually exclusive with another one, it will uncheck the other one. Checkboxes are mutually exclusive if checking both would leave you with zero search results. Mutually exclusive checkboxes include the ones for only external links and only internal links and the newly added ones for only member submitted pages and only HTML pages. I have also added some tooltips to explain what these and some other options mean.

I have added some new search options for choosing between =, LIKE, and REGEXP, and I will deprecate the options specifically for REGEXP searching.

While there is still more to work on, it is stable for now. So, I have copied what I've done to the official queryinc.php script.