01545: Pagelist parameters should always be treated as such, even if the value is, or resolves to, null

Summary: Pagelist parameters should always be treated as such, even if the value is, or resolves to, null
Created: 2026-03-22 21:02
Status: InProgress
Category: Bug
From: simon
Assigned:
Priority: 5
Version: latest
OS: n/a

Description: In this pagelist directive (from a SideBar) (:pagelist name=A* fmt=Songbook.SideBar#listbyletter category={*$:genre} :) the parameter category= morphs into a search string if the page text variable {*$:genre} is not defined on a page body.

I consider this to be a bug.

It seems to me that if a user desires a search string of "category=" they should quote it.

If it looks like a parameter (i.e. /text=/) it should be treated like a parameter.

This is important because when constructing a pagelist where a value of a parameter resolves to null the meaning of the pagelist unexpectedly changes.

simon

Mailing list thread Petko

The current prototype can be downloaded from ChangeLog or Subversion. Petko