Add simple JQL implementation
This commit is contained in:
parent
83ee058297
commit
c06c936118
@ -228,7 +228,7 @@ impl CreateIssue {
|
||||
issue_id: issue.id,
|
||||
user_ids: assign_users,
|
||||
}
|
||||
.execute(conn);
|
||||
.execute(conn)?;
|
||||
issues.find(issue.id).get_result(conn).map_err(|e| {
|
||||
log::error!("{:?}", e);
|
||||
crate::DatabaseError::GenericFailure(
|
||||
|
@ -36,6 +36,11 @@ pub fn update(msg: Msg, model: &mut crate::model::Model, orders: &mut impl Order
|
||||
crate::match_page_mut!(model, IssuesAndFilters)
|
||||
.jql
|
||||
.remove_from(idx);
|
||||
let issues = super::IssuesAndFiltersPage::visible_issues(
|
||||
model.issues(),
|
||||
&crate::match_page!(model, IssuesAndFilters).jql,
|
||||
);
|
||||
crate::match_page_mut!(model, IssuesAndFilters).visible_issues = issues;
|
||||
}
|
||||
Msg::ResourceChanged(ResourceKind::Issue, OperationKind::ListLoaded, _) => {
|
||||
let jql = &match_page!(model, IssuesAndFilters).jql;
|
||||
|
Loading…
Reference in New Issue
Block a user