Page 1 of 1

loadsearch vs. searchtemplate()

Posted: 16 Jul 2024 13:47
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?

Re: loadsearch vs. searchtemplate()

Posted: 16 Jul 2024 18:08
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.

Re: loadsearch vs. searchtemplate()

Posted: 16 Jul 2024 20:26
by autocart
Ok, thanks for letting me know.
Now I know that I am not overlooking anything. :tup: