Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've come across a very strange bug.
I set up my view to render title, image and some other node fields, including the "Content Link" field.
All works well, and adding the Similar Terms argument all results are rendered as expected.
However, as soon as I add the Similar Terms sort filter, the link to the node disappears.
Using views 7.x-3.8 and Drupal 7.30
Comment | File | Size | Author |
---|---|---|---|
#5 | screenshot2.png | 127.77 KB | cslevy |
#5 | screenshot1.png | 125.61 KB | cslevy |
Comments
Comment #1
takim CreditAttribution: takim commentedI can not reproduce it can you @Inky3d give more information or you still face problem?
Comment #2
cslevy CreditAttribution: cslevy commented@takim
Simply add a field "Content: Link" to the view. If the Similar By Terms sort handler or field handler is present, then the Content: Link is broken.
Will generate the link from the count of the similarity
Comment #3
cslevy CreditAttribution: cslevy commentedComment #4
takim CreditAttribution: takim commentedHi @cslevy
I did not find the problem with lastest setup. Can u retry using :-
Drupal version :- 7.43
Similar by term module :- 7.x.2.4
Views :- 7.x-3.8
Comment #5
cslevy CreditAttribution: cslevy commentedI tested it with the following setup
Drupal: 7.43
Similar by term module: 7.x.2.4
Views: 7.x-3.13
I attach also 2 screenshots with the views setup. In the status bar you can see the two links (link from title and link from link field) are different.
Comment #6
takim CreditAttribution: takim commentedThanks @cslevy now i can see the problem.
Fixes are made now :- http://cgit.drupalcode.org/similarterms/commit/?id=7d5265e in this commit.
Soon I will make a stable release with some other bugs.
/Takim
Comment #7
takim CreditAttribution: takim commented