Skip to content

Commit

Permalink
Addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 7, 2016
1 parent 7d24bca commit 712e4a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions caravel/assets/javascripts/explore/explore.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ function initExploreView() {
`<span>${viz.text}</span>`
);
}

$('.select2').select2({
dropdownAutoWidth: true,
});
Expand Down
6 changes: 3 additions & 3 deletions caravel/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ def get_url(self, for_cache_key=False, json_endpoint=False, **kwargs):
for item in v:
od.add(key, item)

base_endpoint = '/caravel/explore/'
base_endpoint = '/caravel/explore'
if json_endpoint:
base_endpoint = '/caravel/explore_json/'
base_endpoint = '/caravel/explore_json'

href = Href(
base_endpoint + '{self.datasource.type}/'
'{base_endpoint}/{self.datasource.type}/'
'{self.datasource.id}/'.format(**locals()))
if for_cache_key and 'force' in od:
del od['force']
Expand Down
3 changes: 1 addition & 2 deletions run_specific_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export CARAVEL_CONFIG=tests.caravel_test_config
set -e
caravel/bin/caravel version -v
export SOLO_TEST=1
#nosetests tests.core_tests:CoreTests.test_slice_endpoint
nosetests tests.druid_tests
nosetests tests.core_tests:CoreTests.test_slice_endpoint

0 comments on commit 712e4a9

Please sign in to comment.