Changeset 75100 in spip-zone for _plugins_/ocr


Ignore:
Timestamp:
Aug 29, 2013, 5:17:24 PM (8 years ago)
Author:
lesage.sylvain@…
Message:

Ajout de "ocr" dans les recherches par jointures

Location:
_plugins_/ocr/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/ocr/trunk/ocr_pipelines.php

    r75099 r75100  
    1818function ocr_rechercher_liste_des_champs($tables){
    1919        $tables['document']['ocr'] = 1;
     20        return $tables;
     21}
     22
     23function ocr_rechercher_liste_des_jointures($tables){
     24        $tables['article']['document']['ocr'] = 1;
     25        $tables['rubrique']['document']['ocr'] = 1;
     26        $tables['breve']['document']['ocr'] = 1;
    2027        spip_log($tables ,'ocr');
    2128        return $tables;
  • _plugins_/ocr/trunk/paquet.xml

    r75099 r75100  
    44        version="0.1.0"
    55        etat="dev"
    6         compatibilite="[3.0.12-dev;3.0.*]"
     6        compatibilite="[3.0.11;]"
    77        logo="prive/themes/spip/images/ocr-64.png"
    88        documentation="http://contrib.spip.net/ocr"
     
    2828        <pipeline nom="taches_generales_cron" inclure="ocr_pipelines.php" />
    2929        <pipeline nom="rechercher_liste_des_champs" inclure="ocr_pipelines.php" />
     30        <pipeline nom="rechercher_liste_des_jointures" inclure="ocr_pipelines.php" />
    3031
    3132</paquet>
Note: See TracChangeset for help on using the changeset viewer.