Ticket #611 (closed defect: worksforme)

Opened 11 years ago

Last modified 11 years ago

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 extra.dm 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 extra.dm file.

- is this just lucene? probably mgpp too.

- is it just windows?

Change History

Changed 11 years ago by kjdon

  • status changed from new to closed
  • resolution set to worksforme

I tried this. You need to copy the pagescriptextra from query.dm, 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.