Hi Andy,
The above fix for search results works fine now without need to enter any query. However, would it be possible to go one step further and make it so when a Category Name is entered it will look up for the catid and then do the search ie. /search.cgi?CatName=Automotive&query=
There are a couple of subs in search.pm that match the categoryname to the corresponding catid and I don't know if they could be used to get the category name. In the above example it will get the proper catid for Automotive and then get all the links in that category (of course, as earlier if the query is blank then it will get all the links and if there is a query then it will only return matching links). Thanks!
The above fix for search results works fine now without need to enter any query. However, would it be possible to go one step further and make it so when a Category Name is entered it will look up for the catid and then do the search ie. /search.cgi?CatName=Automotive&query=
There are a couple of subs in search.pm that match the categoryname to the corresponding catid and I don't know if they could be used to get the category name. In the above example it will get the proper catid for Automotive and then get all the links in that category (of course, as earlier if the query is blank then it will get all the links and if there is a query then it will only return matching links). Thanks!