How To Change the Default Search Type in the PaperVision ASP.NET Application from Or to And.
Version: R69 and Above
Article ID: PE000090
Description
Summary
- On the application server find the PVEWebjavascript directory and open pveProjectSearch.js in Notepad.
- Click EditàFind and type in lastSearch.SEARCHTYPE = "Or"; and click Find Next. Make the following changes to the line:From:lastSearch.SEARCHTYPE = "Or";
To:
lastSearch.SEARCHTYPE = "And";
- Save the file. Note: If you are unable to save the file, you may need to right-click on the file and select Properties and uncheck Read-only in the Attributes section and click OK before it will allow you save.
- Start a new browser session and delete the existing cookie (if applicable). The search type will now default to “And” but will still retain the user’s last search type if cookies are supported and enabled by the browser.