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.
hi,
i love this module, but, the resume nodes are showing up in search results,
i think patches are required for the drupal 4.7.3 node.module, to exclude
the 'resume' node type from being indexed by the search module.
any ideas?
Comment | File | Size | Author |
---|---|---|---|
#5 | resume.module.patch | 977 bytes | klance |
Comments
Comment #1
drupalgirl CreditAttribution: drupalgirl commentedHas this issue been dealt with? Please let users know if still represent a security issue for the resume poster.
Comment #2
klance CreditAttribution: klance commentedI'm glad I looked at this bug report, because I didn't realize it was doing that. One of my modules was doing the same thing, and I had to implement hook_db_rewrite_sql to overcome this problem. In this case it would look something like this:
Comment #3
klance CreditAttribution: klance commentedComment #4
kbahey CreditAttribution: kbahey commented@klance
There are two modules included with the job search module for node access stuff.
Can you please check if your function should go into the resume_access or job_access module rather than the main? Also please test the results with the new change for regression (current access permissions are not affected).
Thanks
Comment #5
klance CreditAttribution: klance commentedCut the code from job.module and paste it into resume.module. Same effect, more appropriate location.
Comment #6
klance CreditAttribution: klance commentedYeesh... that gets it out of the search results, but it causes an SQL error that prevents views from showing up. Oh well...