loadsearch vs. searchtemplate()

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

loadsearch vs. searchtemplate()

Post by autocart »

Hi all,

am I missing a point? Why are there two commands dealing with the search templates?
It seems that searchtemplate() can do everything that loadsearch can do, but on top of it, it can also save a search template.

So, is there an important reason for this that I am missing?
Should we not use loadsearch or something?

admin
Site Admin
Posts: 64917
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: loadsearch vs. searchtemplate()

Post by admin »

Hmmm, good question :maf: There is indeed a significant overlap. Nobody noticed it until you came along. Can't do anything about it (without breaking old code), so we have to live with it.

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

Re: loadsearch vs. searchtemplate()

Post by autocart »

Ok, thanks for letting me know.
Now I know that I am not overlooking anything. :tup:

Post Reply