forked from MapComplete/MapComplete
		
	Cyclestreets: only add maxspeed=30 in Belgium; change 'language' to 'locale' in changeset tags, load notes in import_viewer up to two years back, language tweaks
This commit is contained in:
		
							parent
							
								
									a11e0fc545
								
							
						
					
					
						commit
						d1e99fc2d3
					
				
					 13 changed files with 88 additions and 13 deletions
				
			
		|  | @ -199,11 +199,12 @@ class ImportInspector extends VariableUiElement { | |||
| 
 | ||||
|     constructor(userDetails: { uid: number } | { display_name: string, search?: string }, state: UserRelatedState) { | ||||
|         let url; | ||||
|          | ||||
|         if (userDetails["uid"] !== undefined) { | ||||
|             url = "https://api.openstreetmap.org/api/0.6/notes/search.json?user=" + userDetails["uid"] + "&limit=10000&sort=created_at&q=%23import" | ||||
|             url = "https://api.openstreetmap.org/api/0.6/notes/search.json?user=" + userDetails["uid"] + "&closed=730&limit=10000&sort=created_at&q=%23import" | ||||
|         } else { | ||||
|             url = "https://api.openstreetmap.org/api/0.6/notes/search.json?display_name=" + | ||||
|                 encodeURIComponent(userDetails["display_name"]) + "&limit=10000&sort=created_at&q=" + encodeURIComponent(userDetails["search"] ?? "#import") | ||||
|                 encodeURIComponent(userDetails["display_name"]) + "&limit=10000&closed=730&sort=created_at&q=" + encodeURIComponent(userDetails["search"] ?? "#import") | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue