Jean-Baptiste Bellet
3df304c9d6
Search and match through name + city and state_name
...
- Rename enterpriseMatchesNameQueryFilter as well to enterpriseMatchesQueryFilter
- Update tests as well
2021-11-12 15:57:28 +01:00
Matt-Yorkley
e1155277fc
Remove Darkswarm from window
2021-08-02 18:59:42 +01:00
Matt-Yorkley
003341ef7a
Add loading indicator when showing closed shops
2020-04-07 10:40:49 +02:00
Matt-Yorkley
af48cac140
Load closed shops in a separate request on /shops page
2020-04-04 14:06:10 +02:00
Maikel Linke
73041e9263
Show shop profiles without closed shops
...
The filter for closed shops was filtering profiles as well. That made it
impossible to show profiles without showing closed shops as well.
Replacing the filter for closed shops fixes the "show profiles" feature.
Fixes https://github.com/openfoodfoundation/openfoodnetwork/issues/1718
2017-09-22 12:53:21 +10:00
Rohan Mitchell
1054fd2d05
View closed shops by URL
2016-08-03 16:07:15 +10:00
Rohan Mitchell
e3173c955d
Refit filters when box opens
2016-07-29 11:01:51 +10:00
Rohan Mitchell
0b84afd67a
Display property filters for producers
2016-07-29 11:01:51 +10:00
Maikel Linke
c4f92fd4cc
Hide closed shops by default, add "show" button
2016-04-01 11:45:24 +11:00
Maikel Linke
21be27d722
Remove duplicate filtering of visible enterprises
...
Increase readability of enterprises_controller.js.coffee.
2016-03-31 15:00:22 +11:00
Maikel Linke
bd19bf5f3c
Refactoring filter selectors
...
The FilterSelectorsService is now able to create multiple independent
lists of selectors. These lists are explicitly given to the
filter-selector directive.
For example a group's page has one set for the group's producers and one
set for the group's shops.
2016-02-04 16:08:19 +11:00
Maikel Linke
d5aea1b00d
Taxon filter for group producers
2016-01-20 13:32:08 +11:00
Rohan Mitchell
28b8e0b0c8
Update distance matches when filter settings change
2015-07-10 17:45:17 +10:00
Rohan Mitchell
0ab75fe2ea
Take the first name match from the post-filter results to avoid matching off a result the user can't see
2015-07-10 17:45:17 +10:00
Rohan Mitchell
5b93ac2ae1
Remove unneeded injections, consistent spacing
2015-07-10 17:45:16 +10:00
Rohan Mitchell
7d340d5084
Update taxon search to only display taxons from enterprises on the page
2015-07-10 17:45:16 +10:00
Rohan Mitchell
d8dfb5b5ee
Move most filters back out into view - they now respond to filter preference changes
2015-07-10 17:45:16 +10:00
Rohan Mitchell
651afc34cb
Notify enterprise change by broadcast
2015-07-10 17:45:16 +10:00
Rohan Mitchell
5f8826533d
Limit distance matches to those within 50 km
2015-07-10 17:45:16 +10:00
Rohan Mitchell
5b5c56064e
Hide distance matches when there are name matches. Show with a link.
2015-07-10 17:45:16 +10:00
Rohan Mitchell
eba0a12d29
Extract filtering into controller
2015-07-10 17:45:15 +10:00
Rohan Mitchell
7f2508eeaa
When a name match is found, calculate distances from that enterprise, rather than from the geocoded lookup
2015-07-10 17:45:15 +10:00
Rohan Mitchell
744beaa26a
Perform shops search by proximity instead of plain string match
2015-07-10 17:45:15 +10:00
Rafael Schouten
58c39b340d
remove duplicate default value assignment
2014-10-05 01:43:50 +10:00
Rafael Schouten
0e2774882f
dry enterprise angular
2014-09-25 13:06:02 +10:00