Commit Graph

218 Commits

Author SHA1 Message Date
Kuroshini
a6f3384126 change employees search precision const 2020-01-23 11:26:08 +03:00
a.gorbunov
24c352aeac fix country_id 2020-01-22 13:53:28 +00:00
alex
beefc82d7b toque number and employee for establishment 2020-01-20 14:20:46 +03:00
Kuroshini
a05db696b0 optimize db queries on /api/back/establishments/employees 2020-01-17 19:08:33 +03:00
Kuroshini
8b4a6b0b74 fix employees search 2020-01-17 16:13:33 +03:00
alex
a915cff73d photo for employee 2020-01-17 13:56:58 +03:00
alex
0695cdce6b available_for_events field for employee 2020-01-17 11:36:13 +03:00
alex
f15a93f760 username, first_name, last_name filter for employee 2020-01-17 09:37:15 +03:00
alex
38485292f9 public_mark filter for actual employee 2020-01-17 09:21:51 +03:00
Kuroshini
ea485d9960 optimize images at least for establishments 2020-01-16 19:21:57 +03:00
alex
2aec0bdfb4 position filter for employee 2020-01-16 16:23:10 +03:00
Kuroshini
127d15b181 try to fix performance issues
(cherry picked from commit 964ead1)
2020-01-16 12:14:04 +03:00
Kuroshini
4b45cab976 employees trigram search for back-office 2020-01-15 20:49:33 +03:00
Kuroshini
7a7d7a70b0 fix naming issue 2020-01-15 19:15:32 +03:00
Anatoly
a468f264e0 fix similarity rules 2020-01-15 17:50:34 +03:00
Kuroshini
59f7f8d2d4 distillery_type 2020-01-15 17:50:12 +03:00
Anatoly
c0273773bc refactored a little similarity rules 2020-01-15 17:00:14 +03:00
Kuroshini
0607a56739 Revert "possible fix for similar distilleries"
This reverts commit 2197863
2020-01-15 16:47:04 +03:00
Kuroshini
21978639bd possible fix for similar distilleries 2020-01-15 16:40:29 +03:00
Anatoly
b2f3e1f96b added field - "distillery_types" in establishment list, detail and similar list view 2020-01-13 11:50:54 +03:00
Anatoly
db8917e7af added two endpoints: /.../establishments/slug/{slug}/similar/producers/food/, /.../establishments/slug/{slug}/similar/artisans/distilleries/ 2020-01-10 17:25:27 +03:00
Anatoly
23f8c0bbcd added field address_id to request data in /api/back/establishments/
in Establishment make as mandatory field address
2020-01-10 14:40:54 +03:00
alex
6b52feffd8 fix similar_artisans_producers 2019-12-30 16:38:42 +03:00
Anatoly
2827374911 intermediate commit 2019-12-30 13:22:57 +03:00
Dmitriy Kuzmenko
e2d71fca8f Merge branch 'develop' into feature/guides 2019-12-27 18:00:20 +03:00
Anatoly
151c017561 see changes 2019-12-27 17:49:56 +03:00
Виктор Гладких
caa17bf9f4 Serialize employee with positions, public_mark and establishment 2019-12-27 16:13:22 +03:00
Anatoly
b41c185a65 see changes 2019-12-27 14:46:36 +03:00
Anatoly
1189b6ff58 see changes 2019-12-26 10:24:08 +03:00
Dmitriy Kuzmenko
d7c7880860 add counter for public_mark and change Guid serializer 2019-12-25 15:19:43 +03:00
Anatoly
2fb338bc59 refactored method to get similar list on entities (see todo: establishment/models.py) 2019-12-23 12:59:47 +03:00
Anatoly
cc7125b468 added image url to es 2019-12-23 09:19:16 +03:00
Kuroshini
660c8e791b tags translation 2019-12-20 19:08:53 +03:00
Anatoly
72e5d723db added default image for type/subtype 2019-12-20 17:27:04 +03:00
Anatoly
35b7846ca1 refactored methods for getting similar establishments 2019-12-20 12:57:48 +03:00
Anatoly
821526d631 remove incorrect check for establishment, set schedule attr property as blank=True, refactored timetable model 2019-12-20 12:36:11 +03:00
Anatoly
dbbb526902 Refactored mechanism to find similar objects. Added endpoints to product app. 2019-12-17 13:02:46 +03:00
Kuroshini
586f6e373b Anatoly, dont erase working code during refactoring pls 2019-12-16 15:30:05 +03:00
Anatoly
e2ec179f69 refactored the mechanism for finding similar establishments 2019-12-12 18:10:20 +03:00
Anatoly
51da45b00b refactoring 2019-12-10 13:08:28 +03:00
Anatoly
439fb17778 Merge branch 'develop' into feature/similar-wines 2019-12-10 12:46:44 +03:00
Виктор Гладких
8e63b969bf Merge branch 'develop' into feature/permission_winery 2019-12-06 16:58:44 +03:00
Виктор Гладких
e824b5ee65 winery permission 2019-12-06 16:51:57 +03:00
Kuroshini
91b528feb9 tags for establishments 2019-12-06 14:03:14 +03:00
Anatoly
b659308729 exclude field from Establishment serializer 2019-12-06 13:06:59 +03:00
Kuroshini
202f5715f3 remove tag category from detail 2019-12-05 17:12:43 +03:00
Kuroshini
bebd1283c0 Merge remote-tracking branch 'origin/fix/hide-unused-tags' into develop
# Conflicts:
#	apps/establishment/models.py
2019-12-04 21:04:09 +03:00
dormantman
c0bc66c749 Hide unusable tags 2019-12-04 21:02:08 +03:00
Anatoly
9dc8e34e3a Merge branch 'develop' into feature/transfer-guide
# Conflicts:
#	apps/establishment/models.py
#	apps/establishment/serializers/common.py
2019-12-04 20:16:21 +03:00
Anatoly
29ff10fb4b added wine origins 2019-12-04 20:13:09 +03:00