rairprotocol / rair-dapp

Source code for RAIRprotocol ecosystem
https://rairprotocol.org
Apache License 2.0
1.43k stars 888 forks source link

Metadata Filter with multiple Traits #252

Closed sarora180673 closed 1 month ago

sarora180673 commented 1 month ago

Latest dev branch

Test case: Select Multiple Traits in Metadata filter

Observation : Result contains NFTs which match ANY traits/attributes

Expected : Result set should contain NFTs which match ALL of the traits/attributes

Please also consider scenario where user select multiple attributes of a Trait - which I think should not be allowed based on new proposed logic

RAIReth commented 1 month ago

replace AND logic with OR for filtering attributes