In my Vue.js application, there is a method that I have implemented. It goes like this:
methods: {
searchFunction(helper) {
//helper.addFacetRefinement('deal', 'deal').search();
helper.addFacetRefinement('price_per_night', '>'+parseInt(this.slider_amount)).search();
},
The issue arises when the helper does not work as expected, even though it should if used in this format:
helper.addFacetRefinement('price_per_night', '> 100')).search();
I am trying to figure out why it's not working properly and wondering if there is a way to print the entire line, including the syntax and variable values, to understand how it was formed and make necessary corrections.
Any assistance or insight would be greatly appreciated.