Browse Source
This change allow the developter to choose the field to display in the results. So we don't have to change our json's object field names to the fixed ones (title, price and description). usage: $('div[name="searchDiv"]').search({ source: [{id:0, myfield: 'some text', extrafield: 'ST'}, {id:1, myfield: 'another text', extrafield: 'AT'}], searchFields: [ myfield ], displayField: extrafield });pull/2645/head
anibalmf1
9 years ago
1 changed files with 8 additions and 2 deletions
Loading…