Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] isDetailView doesn't work on refernced_list entity id-field #560

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Bug-fix: go_to_detail_state_params_override
  • Loading branch information
Vasia Korobkin committed Jul 24, 2015
commit 3fefac8157c5d4ce4afa3363b2a26d9e3a19e923
4 changes: 2 additions & 2 deletions src/javascripts/ng-admin/Crud/column/maColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ define(function (require) {
route = 'show';
}
$state.go($state.get(route),
angular.extend({
angular.extend({}, $state.params, {
entity: scope.entry.entityName,
id: scope.entry.identifierValue
}, $state.params));
}));
};
scope.gotoReference = function () {
var referenceEntity = scope.field.targetEntity().name();
Expand Down