Open Noroxi opened 3 years ago
Hey @Noroxi,
I am fairly new to GitHub, please forgive me for any mistakes. I ran a test in my system from inside of a withsort loop, and it worked just fine. ItemPrice and ItemsPrice are variables. They equal, and the "Equals" was produced.
{{#compare ItemPrice "==" ../ItemsPrice}} Equals {{/compare}}Outside: {{../ItemsPrice}} Inside: {{ItemPrice}}
The only thing that strikes me about the script you have, is that you are using:
{{#each ../users}}
Wouldn't this mean that you are going back out a level? Would this mean instead of using "../_id" you should use... "../owners._id"? I am just not sure how you are going outside to get into users, and then going outside for an "_id"? Let me know what you think.
Thank You.
Hi I can't fix this, i search every where but nothing, here is my .hbs view:
But #compare doesn't work, when i use an _id as string and compare with any two variables it works, but when i use two variables it doesn't:
versions:
I'm using it with nodejs and express, please any help I'd try with
#eq
and#is
but even it doesn't work !!