Skip to content

Commit

Permalink
Fix issue with project import org filtering on paginated page > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
agjohnson committed Oct 6, 2015
1 parent ec8dd85 commit 11a1e44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion readthedocs/projects/static-src/projects/js/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,14 @@ function ProjectImportView (instance, urls) {
url = self.page_current() || self.urls['remoterepository-list'];

if (org) {
url = append_url_params(url, {org: org});
url = append_url_params(
self.urls['remoterepository-list'],
{org: org}
);
}

self.error(null);

$.getJSON(url)
.success(function (projects_list) {
var projects = [];
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/projects/static/projects/js/import.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 11a1e44

Please sign in to comment.