Loading...
 
Skip to main content

Wish for Option to Search by Category Name (useful in {LIST()} blocks)

Status
Open
Subject
Wish for Option to Search by Category Name (useful in {LIST()} blocks)
Version
1.8.x
Category
  • Usability
  • Feature request
Feature
Accessibility
Category
Search
Wiki Plugin (extends basic syntax)
Resolution status
New
Submitted by
Alan
Lastmod by
Alan
Rating
(1)
Description

I would like to be able to filter searches by Category names. This would improve usability across a Tiki site.

I'm aware that when search filtering by Category, there is a popup on the search page that allows a user to select a Category (or Categories) which will then appear in the Category filter box in a way the search filters can understand. This is handy, but it would be handier to be able to directly type a Category name (or part of a Category name) into the filter box.

The Category selection box also does not help when composing {LIST()} blocks from PluginList with {filter} blocks. At the moment, {filter} blocks must be composed with prior knowledge of the Category ID number. One must use {filter categories="12 AND 38"} instead of, for example, {filter category-names="Czech Novels of the 1900s AND Polish Novels of the 1900s"}. This makes it harder for people to approach writing wiki pages when they want to include lists of objects in Categories.

I imagine a version of this feature would be easy to write for someone familiar with the codebase, because methods for searching by Category ID have already been built and there is already a function get_category_id($name) in lib/categories/categlib.php.

Importance
7
Easy to solve?
8
Priority
56
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6679
Created
Thursday 31 May, 2018 21:19:49 UTC
by Alan
LastModif
Thursday 31 May, 2018 21:19:49 UTC


Show PHP error messages