|
|
|
|
|
'use strict';
|
|
|
|
|
|
const _ = require('lodash');
|
|
|
const Search = require('../models/list');
|
|
|
const camelCase = global.yoho.camelCase;
|
|
|
|
...
|
...
|
@@ -57,7 +56,7 @@ const list = { |
|
|
|
|
|
return {
|
|
|
lower: prices[0],
|
|
|
higher: prices[1]
|
|
|
higher: prices[1]
|
|
|
};
|
|
|
}).sort((a, b) => {
|
|
|
return a.lower - b.lower;
|
...
|
...
|
|