RE: Site search implemented
2020-08-15, 10:16 (This post was last modified: 2020-08-15, 13:08 by Chris Dee.)
2020-08-15, 10:16 (This post was last modified: 2020-08-15, 13:08 by Chris Dee.)
(2020-08-14, 17:54)re is no exact match.Orion Pobursky Wrote: Site search has been implemented for the main menu search bar. This turned out to be surprisingly easy. I'll reintegrate PT search shortly.
Did you change the default script on the PT menu? Previously, I am sure it deliberately called ptdetail.cgi, so that if the entered text exactly matched a file it deliberately went straight to the detail page. That script redirects to ptscan.cgi with scope=description if there is no exact match. Now the form calls ptscan.cgi directly with scope=header, which generates a list even if the text was a perfect match.
Chris (LDraw Parts Library Admin)