1
0
-1

Hi

Another quick question.

I include this filter to pull down small dogs but the dogs i get back are not filtered by this.

''field-name":"animalSizeCurrent",

"operation":"lessthan"

"criteria":"20"

animalCurrentSize is pulling down a string representation of a number.

I've also tried putting it as a decimal (20.0) with still no luck

Is there something i am doing wrong with the criteria?

 

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Rebecca, I'd be happy to write an example and add to the User Guide.  However, a couple things I'm wondering – first, the name "field-name" is not correct, it should be just fieldname.  Also, if you are doing a public search for adoptable pets you probably want to use the animalGeneralSizePotential field for your size filter (small, large, etc).

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Thanks Richard,

        animalGeneralSizePotential is working great

         

          CommentAdd your comment...