From 1e4a9c0565c3d2f52ec205ae7627ebfc84278735 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Wed, 30 Oct 2013 10:16:21 +0800 Subject: * merged commits from 'maxwell lou' by time '20131028_09:52'; * moved 'ValueKind' model from 'recommend/models' to 'indicator/models' * added field 'type' for 'indicator.models.Indicator' * added field 'kind' for 'indicator.models.IndicatorRecord', 'InnateConfine' * updated methods for models 'Indicator', 'IndicatorRecord', 'InnateConfine' * updated views and templates for 'apps/indicator' * added 'INDICATOR_RECOMMEND_PERIOD' into 'settings.py' * added 'type' field for 'indicator.models.Indicator' in 'search_indexes.py' * added a confirm step for 'EditHistoryData' page when delete a record * removed dir 'backupdata'; 'queries.txt' moved to 'backup' dir * moved *.json to 'backup' dir * removed 'apps/managers*.py' * updated 'indicator/popup/IndexDesc.html' * created dir 'apps/indicator/obsolete'; * moved 'indicator/forms.py' to dir 'obsolete'; * splitted views related forms.py from 'views.py', and placed in 'obsolete/views_forms.py' * loadded newest data into database * cleaned pervious data files in 'backup' dir * updated 'README.txt'; added a solution to a redis problem * added field 'type' of 'indicator.models.Indicator'; for filtering search results and only returning 'NORMAL_TYPE' --- 97suifangqa/apps/sciblog/signals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '97suifangqa/apps/sciblog/signals.py') diff --git a/97suifangqa/apps/sciblog/signals.py b/97suifangqa/apps/sciblog/signals.py index b2b2ce9..a7d0604 100644 --- a/97suifangqa/apps/sciblog/signals.py +++ b/97suifangqa/apps/sciblog/signals.py @@ -35,7 +35,7 @@ def mark_keywords_in_textfield(model, fields, related_name='NONE'): mark_keywords_in_textfield(SciBlog, ['abstract_result', 'method', 'aim', 'abstractAE', 'treatment_content', 'endpoint_content', 'detectionAssay'], 'blogs') -mark_keywords_in_textfield(ResultContent, ['abstract', 'content', 'card_content']) +mark_keywords_in_textfield(ResultContent, ['content']) mark_keywords_in_textfield(Reference, ['description']) mark_keywords_in_textfield(KnowledgePiece, ['content']) mark_keywords_in_textfield(Guideline, ['content']) -- cgit v1.2.2