Ticket #710 (closed Feature Request: wontfix)
find_related with m2m - table naming convention
| Reported by: | tas | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Libraries:ORM | Version: | 2.1 Release |
| Keywords: | Cc: |
Description
Would it be better if tables in m2m relation should be named in alphabetical order? Without it, it is not possible to do such thing: articles -> tags_articles <- tags
$tag->find_related_articles(); // will work $article->find_related_tag(); // will NOT work.
When alphabetical order will be preserved and tables names will be sorted before related table name is build, it will work in every case.
Change History
Note: See
TracTickets for help on using
tickets.
