14

Wrong More on Sale values for yuletide items

  • Live

Avatar
Victor Ryabinin

Wrong "More on Sale" values for yuletide items, as example kanaria.rmrk.app/catalogue/10631611-e0b9bdcc456a36497a-EVNTS-YLTD21-00001368
it shows all the yuletide items, not only "Santa Hat".
I think you should use the same filter as for "GetTotalSupply" because it works well


A

Activity Newest / Oldest

Avatar

Victor Ryabinin

Thank you very much!


R

RMRK Team

Please check if this shows correctly now


  • Avatar
R

RMRK Team

Status changed to: Live

R

RMRK Team

Status changed to: In progress

Avatar

Max Stürzer

fix it


Avatar

Victor Ryabinin

I've checked graphl requests and GetTotalSupply works well for Yuletide Items, because it supports filtering by metadata_image:
json_data = {
'operationName': 'GetTotalSupply',
'variables': {
'metadata_image': 'ipfs://ipfs/QmbKQaLAyXB8xV8bnnmskVCLPMs36yRso23xWzpwgHyPui/xmas21_reindeersleigh_foreground_thumb.png',
},
'query': 'query GetTotalSupply($metadata_image: String!) {n nfts_aggregate(n where: {metadata_image: {_eq: $metadata_image}, burned: {_eq: ""}}n ) {n aggregate {n countn __typenamen }n __typenamen }n}n',
}

So, I'd suggest to add metadata_image field for MoreOnSale operation


Avatar

michael newman

Sounds good