[ 
https://issues.apache.org/jira/browse/ROL-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057577#comment-14057577
 ] 

Glen Mazza commented on ROL-1789:
---------------------------------

The check for model.hits > 0 was unhelpful, I removed it.  I can have five 
categories, query on something that doesn't exist in any blog entry, and get of 
course zero responses (model hits therefore = 0).  But say I want to run 
another query on a specific category -- I couldn't because the categories 
drop-down is gone.  Anyway, fixed.

> Hide category selection in search dialog if there are no categories
> -------------------------------------------------------------------
>
>                 Key: ROL-1789
>                 URL: https://issues.apache.org/jira/browse/ROL-1789
>             Project: Apache Roller
>          Issue Type: Improvement
>          Components: User Interface - General
>    Affects Versions: 4.0.1
>            Reporter: Henning Brune
>            Assignee: Greg Huber
>            Priority: Trivial
>             Fix For: 5.1
>
>         Attachments: ROL-1789-Patch.txt
>
>
> The search dialog always offers a category selection even if there are no 
> categories defined in the weblog. This is especially disturbing in the 
> frontpage weblog, because categories don't make sense there.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to