Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14299: don't depend on SolrPlugin
  • Loading branch information
MichaelDaum committed Jan 23, 2017
1 parent 21ead0a commit c9a4547
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions data/Applications/BlogApp/RenderSideBar.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485171728" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1485197114" format="1.1" reprev="1" version="1"}%
%META:TOPICPARENT{name="TopicFunction"}%
%TOC{depth="2"}%

Expand Down Expand Up @@ -31,7 +31,7 @@
%DBCALL{"Applications.BlogApp.RenderRecentComments"
LIMIT="5"
%IF{"'%BASEWEB%.%BASETOPIC%'/TopicType=~'Category'"
then="CAT=\"%URLPARAM{"catname" default="%BASETOPIC%"}%\"
then="CAT=\"%URLPARAM{"catname" default="%BASETOPIC%"}%"
}%
}%<!-- -->
%DBCALL{"Applications.BlogApp.RenderCategories"}%<!-- -->
Expand All @@ -56,7 +56,9 @@
%WEBSUMMARY%
</div>
%DBCALL{"Applications.BlogApp.RenderAuthorTools"}%<!-- -->
%DBCALL{"Applications.BlogApp.RenderSimilarBlogEntries"}%<!-- -->
%IF{"context SolrPluginEnabled"
then="$percntDBCALL{\"Applications.BlogApp.RenderSimilarBlogEntries\"}$percnt"
}%<!-- -->
%DBCALL{"Applications.BlogApp.RenderRecentBlogEntries"
LIMIT="5"
CAT="%CATINFO{topic="%BASEWEB%.%BASETOPIC%" format="$name" limit="1" exclude="TopCategory"}%"
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/BlogPlugin.pm
Expand Up @@ -23,7 +23,7 @@ use Error qw(:try);
use Foswiki::Func();
use Foswiki::Plugins::DBCachePlugin();

our $VERSION = '4.00';
our $VERSION = '4.01';
our $RELEASE = '23 Jan 2017';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION = 'A blogging system for Foswiki';
Expand Down

0 comments on commit c9a4547

Please sign in to comment.