kilbot / WooCommerce-POS

:bangbang: All development now at https://github.com/wcpos.
http://wcpos.com
GNU General Public License v3.0
353 stars 125 forks source link

Search Bar not filtering correctly #91

Open amjad opened 9 years ago

amjad commented 9 years ago

The search bar in the POS does not seem to work correctly. What does it search for? I tried searching name or order number it did not work always shows up empty.

kilbot commented 9 years ago

The search will match against customer.first_name, customer.last_name and customer.email.

kilbot commented 9 years ago

WooCommerce POS uses the WC REST API output, so id would just be id.

Also note you can use prefixes to filter by a specific order property, for example, go to demo.woopos.com.au/pos/#orders and search for id:12555 or status:pending. This only works for locally stored orders at the moment, so you may need to hit the sync button first.

kilbot commented 9 years ago

There are over 200 individual js files that make up WooCommerce POS. The plugin does not ship with individual files, it combines and minifies them as part of the build process.