Hi Paul, I already implemented this feature. Bug 10855 allows to have additional fields for subscriptions. The new fields are displayed on the add/edit/show views and can be searched on the serial search page. That can be extended to others tables. Jonathan 2013/9/17 Paul Poulain <paul.poulain@biblibre.com>:
Hi Koha-devel,
We've a customer that is asking for new -probably specific- fields in the subscription. For example, what they called: "subscription origin".
I was wondering if a good way to do that would be to transform our "borrowers attributes" to become "extended attributes". Those extended attributes being managed as patron, subscription, acquisition,... attributes.
What it means : * changing the table name ! (now, it's borrowers_attributes and borrowers_attribute_types) * removing foreign keys to borrowers table. * add a field "scope" (or similar name), that would be borrower, subscription, acquisition, ... * update all the code to handle this "scope" field. For example, borrower_attributes.borrowernumber would become "extended_attributes.externalid", pointing to the borrowernumber, the subscriptionid or the ordernumber.
What do you think of the idea ? (I don't promize that, even if everybody says it's a wonderful idea, we will do it) -- Paul POULAIN - BibLibre http://www.biblibre.com Free & Open Source Softwares for libraries Koha, Drupal, Piwik, Jasper
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/