We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a52623d commit b7b740cCopy full SHA for b7b740c
crates/jz-module/src/explore.rs
@@ -20,7 +20,8 @@ impl AppModule {
20
if param.rtype == "product" {
21
value["type"] = json!("product");
22
let mut data = vec![];
23
- let mut condition = Condition::all();
+ let mut condition = Condition::all()
24
+ .add(repository::Column::IsPrivate.eq(false));
25
if param.search != "" {
26
condition = condition.add(repository::Column::Name.contains(param.search.clone()))
27
.add(repository::Column::Description.contains(param.search))
0 commit comments