forked from MapComplete/MapComplete
		
	Themes: add filters for 'wifi' and 'electricity'
This commit is contained in:
		
							parent
							
								
									cb978b37b5
								
							
						
					
					
						commit
						af2c6f4782
					
				
					 2 changed files with 30 additions and 1 deletions
				
			
		|  | @ -296,7 +296,9 @@ | ||||||
|   "filter": [ |   "filter": [ | ||||||
|     "open_now", |     "open_now", | ||||||
|     "accepts_cash", |     "accepts_cash", | ||||||
|     "accepts_cards" |     "accepts_cards", | ||||||
|  |     "has_internet", | ||||||
|  |     "has_electricity" | ||||||
|   ], |   ], | ||||||
|   "deletion": { |   "deletion": { | ||||||
|     "softDeletionTags": { |     "softDeletionTags": { | ||||||
|  |  | ||||||
|  | @ -272,6 +272,33 @@ | ||||||
|           "osmTags": "dog=no" |           "osmTags": "dog=no" | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "id": "has_internet", | ||||||
|  |       "options": [ | ||||||
|  |         { | ||||||
|  |           "question": { | ||||||
|  |             "en": "Offers internet" | ||||||
|  |           }, | ||||||
|  |           "osmTags": { | ||||||
|  |             "or": [ | ||||||
|  |               "internet_access=wlan", | ||||||
|  |               "internet_access=yes", | ||||||
|  |               "internet_access=wired" | ||||||
|  |             ] | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     {"id": "has_electricity", | ||||||
|  |       "options": [ | ||||||
|  |         { | ||||||
|  |           "question": { | ||||||
|  |             "en": "Offers electricity" | ||||||
|  |           }, | ||||||
|  |           "osmTags": "service:electricity=yes" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|     } |     } | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue