Algebra.has() does not check sorting nor pagination
bmomberger-bitovi
released this
18 Dec 22:20
·
26 commits
to master
since this release
Previously can-set.Algebra.has()
operated somewhat similarly to can-set.Algebra.subset()
in that it had a special treatment for when a set had sorting and pagination together, to ensure that sorting/order was checked first. This didn't make sense in the case of has()
since it checks instance properties instead of sets, and instances in general do not know their own positions in sorted queries nor do they contain sort information of their own.
This has been released as a minor revision instead of a patch: even though no changes in the can-set tests nor documentation were necessary, we cannot guarantee that it won't break users' code relying on Algebra.has()
.