TODO updated
Fixed purchase search by name