Skip to content

Sc/lti advantage#23

Merged
seanrcollings merged 3 commits into
feature/admin-appfrom
sc/lti-advantage
Jul 30, 2024
Merged

Sc/lti advantage#23
seanrcollings merged 3 commits into
feature/admin-appfrom
sc/lti-advantage

Conversation

@seanrcollings
Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +38 to +48
def index
page, meta = filter(
AtomicTenant::LtiDeployment.where(application_instance_id:),
search_col: "deployment_id",
)

render json: {
deployments: page,
meta:
}
end
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blunckr-aj I think you touched some of the LTI deployment code recently & the search method above this is more complicated than I made this. What's the reasoning for the additional complexity?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed in slack, but the original version pulls in info from atomic_tenant that we don't think really needs to be here

include Filtering

def search
def search
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we could add a comment that this one is deprecated/only used by the old admin app. same with the other controllers

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call

Comment on lines +38 to +48
def index
page, meta = filter(
AtomicTenant::LtiDeployment.where(application_instance_id:),
search_col: "deployment_id",
)

render json: {
deployments: page,
meta:
}
end
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed in slack, but the original version pulls in info from atomic_tenant that we don't think really needs to be here

@seanrcollings seanrcollings merged commit 6050128 into feature/admin-app Jul 30, 2024
@seanrcollings seanrcollings deleted the sc/lti-advantage branch July 30, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants