Fixes to orders list. Refs #1116

- Use SQL placeholders instead of prebuilt strings.
- Keep search params when clicking facets
- Keep filter queries when submitting search form.