Your situation is really lousy, but any eviction proceeding looks bad. The companies that put these records together presume that landlords do not want to rent to tenants who have made trouble for previous landlords, even if (or maybe especially if) the tenants have been vindicated.
For this reason, the law requires that all unlawful detainers be closed to the public for 60 days. They remain closed unless within that time they end in a judgment for the landlord.
Unlawful detainer records don't get removed. They are "masked" for the first 60 days after the complaint is filed. However, if you lost the unlawful detainer, it remains a matter of public record.
The best you can do is to convince future landlords that you can be a good tenant, and perhaps offer the maximum security deposit (twice the monthly rent) to assure the landlord that you will be prompt in payment.
Frank W. Chen has been licensed to practice law in California since 1988. The information presented here is general in nature and is not intended, nor should be construed, as legal advice for a particular case. This Avvo.com posting does not create any attorney-client relationship with the author. For specific advice about your particular situation, please consult with your own attorney.