Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR addresses some minor things. I didn't want to push to `develop` as we are about to release. But if this is agreeable, please merge. There is a fix for the `is_approved` condition. That currently uses a `LIKE` which is the default comparator. This is somewhat slow compared to `=`, and it is prone to future errors where a status of `11` would become a thing for example as that would then also match. In addition, multiple forms already uses `=` for the joined forms. It's just the original that doesn't. Furthermore I updated the calculation of the field ID, as the can cause duplicates on the page when multiple forms are joined. Fields from other forms will still have the original form ID in the `id` attribute, which can cause duplicates if another field with that ID exists. So I swap it out with the correct form ID. The same is done for the class name, but in order to prevent BC compatibility on styling, it is ADDED instead of replaced. For the ID this could be technically Backwards Incompatible; but practically there shouldn't be two identical IDs, so that is already a problem. 💾 [Build file](https://www.dropbox.com/scl/fi/938n1f1z3ambbsk6tp6yi/gravityview-2.32-5b9dc54c4.zip?rlkey=bvlh1dopn86232hgwhko56njo&dl=1) (5b9dc54).
- Loading branch information