Closed (won't fix)
Project:
Recommender API
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
23 Feb 2009 at 16:25 UTC
Updated:
1 Jun 2009 at 22:39 UTC
Many functions require a parameter $field_weight. But what if the field is just a constant 1, such as used in the user-comment relationship?
One work around is to create a view and thus giving the constant field a name. But a nicer way is to handle it in the code.
Comments
Comment #1
danithaca commented#394794: provide {recommender_link_staging} and SQL SELECT as table name will fix this. Just write the constant weight in the SQL SELECT query in the $tablename argument.