[bug] DirectAdmin does not find domains/pointer/aliases on /CMD_ALL_USER_SHOW page

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,143
Location
GMT +7.00
Hello,

DirectAdmin does not find domains/pointer/aliases on /CMD_ALL_USER_SHOW page.

Let's say we have:

nsdomain.com
P: ns1domain.com
P: ns2domain.com
P: ns3domain.com
P: ns4domain.com

If I try to search domains using a beginning from the domain names using Show Domains that Contain, it will find nothing.

With Advanced Search

- The option "contains" does not work when I use first chars of domain names (starting with the very first char of a domain name).
- The option "startswith" does not work too.

Domains w/out pointers and aliases are found fine.

Kindly advice.
 
Thanks for the report. Fixed in pre-release binaries.
Was caused by a change in cell searching to custom string searching, now holding only domains+pointers, so that the "<a target=_blank href='..'></a>" wasn't in the searched string.

The "starts with" still only applies to that string (or cell) being searched, so for example, the ns4domain.com will never satisfy the "starts with" case as the final search/sort is still done on the old href cell. I can re-work this if it's an issue, but the "starts with" would have always failed on the domain column due to the <a href></a> being in the cell. The above fix was just to not include "href" in the "contains" search as it's not actual data, per se.

John
 
Back
Top