Loading...
 
Features / Usability

Features / Usability


Plugin List filtering on Title of Wiki Pages

posts: 22

Hi,

I am using TikiWiki 15.2, InnoDB, MySQL Full Text Search

I have used PluginList with some success on trackers, now I am trying to use it with Wiki Pages.

According to the documentation:

Copy to clipboard
{LIST()} {filter type="wiki page"} {filter field="title" content="foo"} {LIST}

should show
Filter wiki pages with a partial match with some text string such as 'foo'


When I try on my site, I get the response that no pages were found. However if I change the content string to include an asterisk '*':

FROM
Copy to clipboard
{filter field="title" content="foo"}
TO
Copy to clipboard
{filter field="title" content="foo*"}


Then I do get a list of pages with a partial match to 'foo' in the title.

I have rebuilt the search index but that has made no difference to the result, I still need to include the '*' in my filter string to get a partial match.

Troubleshooting for List suggests trying
tiki-searchindex.php?filter~content=foo
and that also fails to find any pages. The search appears to be looking for an "exact" match rather than a "partial" match to the title. If set the content filter exactly equal to a page name, not a partial match, it does find the page.


Is it a simple case that the documentation is incorrect, or is it a problem with my version of tiki wiki or is it a problem with the way I am creating the filter?

Is anyone successfully using PluginList filtering on Wiki Page Titles? If yes, how are you constructing your filter?

Thank you,

Gail

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting