Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2011 at 13:05 UTC
Updated:
17 Oct 2011 at 12:01 UTC
Hi,
I cannot get anchors to display in a View when using "Output this field as a link", e.g. #[nid]. Reading #738172: Use named anchor (fragment) in "Output this field as a link" it would seems to have already been solved; but when looking at the code only checks for 'path' and 'host' are performed, but not for 'fragment'. I attach a patch that fixes the problem.
/Kevin
| Comment | File | Size | Author |
|---|---|---|---|
| views_handler_field.inc_.fragment_patch.diff | 498 bytes | kevin.mcnamee@mailbox.org |
Comments
Comment #1
dawehnerThanks for providing a patch!
This makes absolute sense. Commited to 6.x-3.x and 7.x-3.x