Commit ba2d39b16a9e686f1577bc05329184f5d044b039
1 parent
5a69cfd8
plugin update
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(); |