Opened 12 years ago

Closed 12 years ago

#611 closed defect (worksforme)

advanced search bug

Reported by: kjdon Owned by: nobody
Priority: moderate Milestone: 2.83 Release
Component: Greenstone2 Runtime Severity: major
Keywords: Cc:


As reported by Alexander on mailing list, 12-8-2009

I believe that there is another problem with using advanced search in Windows, under Version 2.82. After you have added any "package query" _pagescriptextra_ functions to the file of your collection, advanced search refuses to work, showing an error message in the browser's status bar. Switching to simple search everything works as expected. Just to be clear, advanced search, with the Lucene indexer, (i.e. with Boolean operators) works fine. It is fielded search that does not work once you try to add _pagescriptextra_ functions to "package query" in the file.

  • is this just lucene? probably mgpp too.
  • is it just windows?

Change History (1)

comment:1 by kjdon, 12 years ago

Resolution: worksforme
Status: newclosed

I tried this. You need to copy the pagescriptextra from, then add your own stuff to it.


package query 

_pagescriptextra_ {_If_("_cgiargqt_" eq "1", _formpagescriptextra_, _selectpagescriptextra_)
_If_("_cgiarghd_" ne "0",_historypagescriptextra_) 
  function kath() \{


I am assuming it didn't work for Alex because he hadn't kept the original contents.

Note: See TracTickets for help on using tickets.