Fix the parent tag link bug
Complete the search function.

TODO: check the database before return the result
resolve conflicts