Hi Magda:
On Fri, 27 Feb 2009, LORENTE MARTINEZ, MAGDALENA wrote:
> The problem is that the personalized search options don't chage the
> language and it show the name of the logical field.
This was a bug in CDS Invenio v0.99.1. See below for a patch. Just
change the indicated line in your
/opt/cds-invenio/lib/python/invenio/websearch_webcoll.py
and rerun ``webcoll -u admin -f'' afterwards.
--- a/modules/websearch/lib/websearch_webcoll.py
+++ b/modules/websearch/lib/websearch_webcoll.py
@@ -602,7 +602,7 @@ class Collection:
values = [{'value' : '', 'text' : get_field_i18nname("any field", ln)}]
if res:
for row in res:
- values.append({'value' : row[0], 'text' : row[1]})
+ values.append({'value' : row[0], 'text' :
get_field_i18nname(row[1], ln)})
else:
if CFG_CERN_SITE:
for tmp in ['title', 'author', 'abstract', 'report number',
'year']:
Best regards
--
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>