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

Feature/filter by tags #7242

Merged
merged 5 commits into from
Dec 25, 2024
Merged

Feature/filter by tags #7242

merged 5 commits into from
Dec 25, 2024

Conversation

Aries-0331
Copy link
Contributor

No description provided.

@Aries-0331 Aries-0331 force-pushed the feature/filter_by_tags branch from 1f99714 to 6902a37 Compare December 24, 2024 02:26
@Aries-0331 Aries-0331 force-pushed the feature/filter_by_tags branch from 2ba8213 to 74d3f04 Compare December 25, 2024 01:39
@@ -1736,6 +1736,14 @@ def delete(self, request, repo_id):
error_msg = 'Internal Server Error'
return api_error(status.HTTP_500_INTERNAL_SERVER_ERROR, error_msg)

# Remove _tags conditions from all table views
try:
RepoMetadataViews.objects.remove_tags_filter_conditions(repo_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

不需要删除, 前端对于已经删除的列,处理过了, 构造sql 对于删除的列, 也处理过了。 a 关闭了tag, b正在编辑, 此时还是可以保存到 数据库的, 所以删除没有意义

@freeplant freeplant merged commit 57f56a1 into master Dec 25, 2024
1 check passed
@freeplant freeplant deleted the feature/filter_by_tags branch December 25, 2024 09:29
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.

3 participants