summaryrefslogtreecommitdiff
path: root/lib/VNDB/DB/Traits.pm
AgeCommit message (Collapse)AuthorFilesLines
2018-09-29Add default spoiler level to traits and use it on character editYorhel1-4/+4
https://vndb.org/t11296
2016-07-03Generalize substring search relevance + apply to most dropdown searchesYorhel1-6/+7
This is a generalization of the search improvements made in 7da2edeaa0f6cf7794f4f8f68960497dc1be893c and 92235222dba4e5d0c7713d53ef12e0f10e371b83 And has been applied to the dropdown searches for producers, staff, tags and traits. For all those searches, exact matches are listed first, followed by prefix matches, and then substring matches. Relevance is currently only based on the primary name/title and ignores aliases (except for staff). This is fixable, but not trivial, and I'm not sure it's all that useful.
2016-07-03Charedit/traits: Prioritize exact match when finding traitsYorhel1-1/+2
2011-05-17Bugfix: Don't allow duplicate trait names/aliasses within the same groupYorhel1-2/+6
This makes the denied trait listing useful again.
2011-05-17Bugfix: dbTraitGet() filtering would not always work correctlyYorhel1-1/+1
2011-02-27chardb: Allow specifying the order of trait groups +'sexual' trait flagYorhel1-7/+7
The sexual flag isn't used yet.
2011-02-21chardb: char-by-trait lookup + trait usage count + tag-code sharingYorhel1-33/+6
I'll have to optimize the updating of traits_chars as soon as I have some data to test with. Also renamed tags.c_vns to c_items, to have it share the same name as traits.c_items. This makes it a lot easier to re-use code for both tags and traits, such as what I did with dbTagTree/dbTraitTree -> dbTTTree and the childtags() and parenttags() functions.
2011-02-20chardb: Added friendly character <-> trait linking interfaceYorhel1-3/+4
2011-02-20chardb: Added "group" property to traitsYorhel1-5/+6
It's more like a cache, and has some unintuitive problems when a trait is applied to multiple top-level traits. But this'll do the trick anyway.
2011-02-19chardb: Removed unique constraints from traits and traits_aliasesYorhel1-26/+7
This makes things somewhat simpler.
2011-02-14chardb: Added trait index and searchYorhel1-0/+8
2011-02-13chardb: Added trait add/edit formYorhel1-2/+5
2011-02-13chardb: Added notes file and started implementing the traitsYorhel1-0/+138