Closed (fixed)
Project:
Bibliography Module
Version:
6.x-1.0-rc5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2009 at 11:31 UTC
Updated:
3 Mar 2009 at 08:00 UTC
Hi,
I'm not sure if this behaviour is intented or not. We want to include references to single papers on a research page, so we put a lot of biblio_db_search('citekey','author_2008') into the code. Unfortunately, this finds all papers thats citekey starts with author_2008, i.e., also author_2008a, author_2008b etc.
We'd prefer to find only the paper whose citekey matches exactly. The citekey keywords is caught by the default case and therefore handled with RLIKE at the moment.
If the rlike-search isn't desired for citekeys for any special reason that I miss, feel free to apply the attached patch to change the behaviour.
| Comment | File | Size | Author |
|---|---|---|---|
| biblio_query_exact_citekey.patch | 647 bytes | Frank Steiner |
Comments
Comment #1
rjerome commentedHi Frank,
That's fine, as you said, citekeys were just being caught be the default case which means there was no specific behavior intended.
Ron.
Comment #2
rjerome commentedComment #3
Frank Steiner commentedThanks!