Links show up incorrect for multiple categories
| Project: | Service links |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | apsivam |
| Status: | closed |
Jump to:
Problem:
When a node has multiple categories assigned, service links do not show up properly.
Steps to reproduce:
1) Create a node and assign multiple categories (about 4) to it.
2) Configure service links module and set the configuration such that services links should show up for one of the above categories.
Actual results:
Service links do not show up on the created node unless all the categories of the node are selected to be displayed by the service links module in the configuration.
Expected results:
Service links should show up for the node if any of the configured categories matches any of the node categories.
Problem (obviously) seems to be in the function that decides whether or not to show the service links: _service_links_show.
The attached patch fixed the problem for me.
| Attachment | Size |
|---|---|
| service_links_multiple_categories_matching.patch | 871 bytes |

#1
patch applied to HEAD
#2
can someone explain me how to apply this patch?
Do I just change the lines in the .module file - i.e. take out the one with - and add the ones with + next to them?
#3
You can read the Patches section of the handbook for instructions: http://drupal.org/patch
You can also apply the patches manually that way, but the point of patches is precisely to avoid manual updating :)
#4
Automatically closed -- issue fixed for two weeks with no activity.