Z Search Interface - generated ZPT pagination problem.
Hi List, Done some googling on this - found the problem rehearsed, but not a solution. If I generate a Z Search interface, I get a page which uses a query string parameter like: - /mysearchresults?filter=value ...to paginate this, I need a URL like: - /mysearchresults?filter=value&start:int=10 However, the URL is called using URL0, which omits the query string, giving: - /mysearchresults?start:int=10 ...which fails, 'cos it needs that parameter! Am I missing something here? Is there a fix, or do I need to code around this? If so, what is the most elegant way to do so? -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 “The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.” Philip K. Dick
Philip Kilner wrote:
Am I missing something here? Is there a fix, or do I need to code around this?
Just tweak the code. Z Search is mainly a foot up to get the basic stuff out the way. Yep, I know what you're talking about IS basic stuff, but such is life :-S Chris
Hi Chris, Chris Withers wrote:
Am I missing something here? Is there a fix, or do I need to code around this?
Just tweak the code. Z Search is mainly a foot up to get the basic stuff out the way. Yep, I know what you're talking about IS basic stuff, but such is life :-S
As long as I've not missed anything obvious! -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 “The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words.” Philip K. Dick
Philip Kilner wrote at 2004-1-22 17:55 +0000:
Done some googling on this - found the problem rehearsed, but not a solution.
If I generate a Z Search interface, I get a page which uses a query string parameter like: -
/mysearchresults?filter=value
...to paginate this, I need a URL like: -
/mysearchresults?filter=value&start:int=10
However, the URL is called using URL0, which omits the query string, giving: -
/mysearchresults?start:int=10
...which fails, 'cos it needs that parameter!
Andreas Tille has a similar problem several months ago. I posted a patch fixing "Z Search Interface" in this respect to the mailing list. Please search its archive... -- Dieter
participants (3)
-
Chris Withers -
Dieter Maurer -
Philip Kilner