You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query:="select ppm.id, ppm.identifier,ppm.name,ppm.description,ppm.type,ppm.icon,ppm.deleted,ppm.created_by, ppm.created_on,ppm.updated_by,ppm.updated_on from plugin_parent_metadata ppm"+
874
877
" inner join plugin_metadata pm on pm.plugin_parent_metadata_id=ppm.id"
875
-
whereCondition:=fmt.Sprintf(" where ppm.deleted=false AND pm.deleted=false AND pm.is_latest=true")
878
+
whereCondition:=fmt.Sprintf(" where ppm.deleted=false AND pm.deleted=false AND pm.is_latest=true and pm.is_deprecated=false")
876
879
iflen(tags) >0 {
877
880
tagFilterSubQuery:=fmt.Sprintf("select ptr.plugin_id from plugin_tag_relation ptr inner join plugin_tag pt on ptr.tag_id =pt.id where pt.deleted =false and pt.name in (%s) group by ptr.plugin_id having count(ptr.plugin_id )=%d", helper.GetCommaSepratedStringWithComma(tags), len(tags))
878
881
whereCondition+=fmt.Sprintf(" AND pm.id in (%s)", tagFilterSubQuery)
0 commit comments