Commit 82f8401885013cfdc55f08a94e2b5a946c6bed90
Merge branch 'master' of http://service.routetopa.eu:7480/WebCompDev/COMPONENTS
Showing
1 changed file
with
1 additions
and
1 deletions
controllets/providers-utility-controllet/providers-utility-controllet.html
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | getProvider: function(dataUrl) { | 9 | getProvider: function(dataUrl) { |
10 | if (dataUrl.indexOf("datastore_search?resource_id") > -1) | 10 | if (dataUrl.indexOf("datastore_search?resource_id") > -1) |
11 | return new ckan_Provider(); | 11 | return new ckan_Provider(); |
12 | - else if (dataUrl.indexOf("search?dataset") > -1) | 12 | + else if (dataUrl.indexOf("search?dataset") > -1 || dataUrl.indexOf("search/?dataset") > -1) |
13 | return new openDataSoft_Provider(); | 13 | return new openDataSoft_Provider(); |
14 | else | 14 | else |
15 | return new generic_Provider(); | 15 | return new generic_Provider(); |