forked from MapComplete/MapComplete
		
	Add filters, remove override
This commit is contained in:
		
							parent
							
								
									c1a25af54d
								
							
						
					
					
						commit
						8485a4af03
					
				
					 2 changed files with 26 additions and 16 deletions
				
			
		| 
						 | 
					@ -55,6 +55,28 @@
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      ]
 | 
					      ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "id": "accepts_debit_cards",
 | 
				
			||||||
 | 
					      "options": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "osmTags": "payment:debit_cards=yes",
 | 
				
			||||||
 | 
					          "question": {
 | 
				
			||||||
 | 
					            "en": "Accepts debit cards"
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "id": "accepts_credit_cards",
 | 
				
			||||||
 | 
					      "options": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          "osmTags": "payment:credit_cards=yes",
 | 
				
			||||||
 | 
					          "question": {
 | 
				
			||||||
 | 
					            "en": "Accepts credit cards"
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "id": "has_image",
 | 
					      "id": "has_image",
 | 
				
			||||||
      "options": [
 | 
					      "options": [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -86,21 +86,7 @@
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          ]
 | 
					          ]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        "payment-options-split",
 | 
				
			||||||
          "id": "payment",
 | 
					 | 
				
			||||||
          "builtin": "payment-options-split",
 | 
					 | 
				
			||||||
          "override": {
 | 
					 | 
				
			||||||
            "mappings": [
 | 
					 | 
				
			||||||
              {},
 | 
					 | 
				
			||||||
              {},
 | 
					 | 
				
			||||||
              {},
 | 
					 | 
				
			||||||
              {},
 | 
					 | 
				
			||||||
              {
 | 
					 | 
				
			||||||
                "hideInAnswer": true
 | 
					 | 
				
			||||||
              }
 | 
					 | 
				
			||||||
            ]
 | 
					 | 
				
			||||||
          }
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          "id": "coin",
 | 
					          "id": "coin",
 | 
				
			||||||
          "question": {
 | 
					          "question": {
 | 
				
			||||||
| 
						 | 
					@ -257,7 +243,9 @@
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "deletion": true,
 | 
					      "deletion": true,
 | 
				
			||||||
      "filter": [
 | 
					      "filter": [
 | 
				
			||||||
        "open_now"
 | 
					        "open_now",
 | 
				
			||||||
 | 
					        "accepts_debit_cards",
 | 
				
			||||||
 | 
					        "accepts_credit_cards"
 | 
				
			||||||
      ]
 | 
					      ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue