Permalink
Browse files

Fix for jbake-org#213 - tag_posts: Contains draft posts as well as pu…

…blished posts
  • Loading branch information...
uli-heller committed Jun 7, 2015
1 parent 8235a9b commit 0f89be754a2bd6cad10ff4916841e66d3abb27b6
Showing with 3 additions and 3 deletions.
  1. +1 −1 build.gradle
  2. +1 −1 pom.xml
  3. +1 −1 src/main/java/org/jbake/app/ContentStore.java
@@ -2,7 +2,7 @@ apply plugin: 'java'
apply plugin: 'maven'
group = 'org.jbake'
version = '2.5.0-SNAPSHOT'
version = '2.4.0-uli1'
description = """jbake"""
@@ -10,7 +10,7 @@
<groupId>org.jbake</groupId>
<artifactId>jbake-core</artifactId>
<version>2.4.0</version>
<version>2.4.0-uli1</version>
<packaging>jar</packaging>
<name>jbake</name>
@@ -94,7 +94,7 @@ public long countClass(String iClassName) {
}
public List<ODocument> getPublishedPostsByTag(String tag) {
return query("select * from post where status='published' where ? in tags order by date desc", tag);
return query("select * from post where status='published' and ? in tags order by date desc", tag);
}
public List<ODocument> getPublishedPages() {

0 comments on commit 0f89be7

Please sign in to comment.