-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2520 from vrk-kpa/remove_tracking
AV-2384: Remove tracking due to performance reasons
- Loading branch information
Showing
7 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/ckan/views/dataset.py b/ckan/views/dataset.py | ||
index 5f32faa22..27864f59a 100644 | ||
--- a/ckan/views/dataset.py | ||
+++ b/ckan/views/dataset.py | ||
@@ -385,7 +385,7 @@ def resources(package_type, id): | ||
u'for_view': True, | ||
u'auth_user_obj': g.userobj | ||
} | ||
- data_dict = {u'id': id, u'include_tracking': True} | ||
+ data_dict = {u'id': id, u'include_tracking': False} | ||
|
||
try: | ||
check_access(u'package_update', context, data_dict) | ||
@@ -427,7 +427,7 @@ def read(package_type, id): | ||
u'for_view': True, | ||
u'auth_user_obj': g.userobj | ||
} | ||
- data_dict = {u'id': id, u'include_tracking': True} | ||
+ data_dict = {u'id': id, u'include_tracking': False} | ||
activity_id = request.params.get(u'activity_id') | ||
|
||
# check if package exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters