Help on refining my search in binders

Started by Rhazor, May 19, 2013, 05:18:07 PM

Previous topic - Next topic

Rhazor

Hi there!

I need some help polishing up the code I use for searching in my binders.

The thing is that although the function of sorting by price is very handy, it sometimes returns some weird sortings (I don't really know why). I'd love if I could specify the app to show me only the cards inside a specific binder that are over a certain price (for example, low price is over 3$). As I have commented in other occasions, I have a huge collection, so this would be very handy to take those hidden gems off my collection and put them inside my TB.

Up to now I have this code:

QuoteSUBQUERY( binderentries, $x, $x.binder.name = 'General' ).@count > 0

Now, any idea if and how this idea could be implemented into the code?

Thanks a thousand in advance!

Rhazor

PS: If I didn't express my self too well, let me know and I'll try to elaborate or rephrase.  ;o)

Piotr

Try SUBQUERY( binderentries, $x, $x.binder.name = 'General' and $x.cardprint.price > 1.0 ).@count > 0

Rhazor

Quote from: Piotr on May 19, 2013, 05:40:39 PM
Try SUBQUERY( binderentries, $x, $x.binder.name = 'General' and $x.cardprint.price > 1.0 ).@count > 0

Thanks for the fast reply!!! Very helpful!!!

Piotr


Rhazor

Hi there...

is it possible that this predicate has stopped working after the 4.0 upgrade?

I've been trying to use it with two different binders and it doesn't seem to work anymore...

Thanks in advance for your help,

Rhazor

Piotr

Do you have the prices reloaded after upgrade?

Rhazor

Quote from: Piotr on June 20, 2013, 07:58:59 AM
Do you have the prices reloaded after upgrade?

Nope, but gonna do it right away!!! I'll let you know if it works.

Thanks!

Edit: Your trick worked like a charm. Updated the prices and the bookmard came back to life!!!

Thanks for the solution, especially having been so fast!