<commit_before><?xml version="1.0"?>

<component name="org.nuxeo.ecm.publishing.querymodel.QueryModels">

  <extension
    target="org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService"
    point="model">

    <queryModel name="DOMAIN_SECTIONS">
      <pattern>
        SELECT * FROM Document WHERE ecm:path STARTSWITH ? and ecm:primaryType = ? AND ecm:mixinType != 'HiddenInNavigation'
      </pattern>
      
      <sortable value="true" defaultSortColumn="ecm:path"
        defaultSortAscending="true" />
    </queryModel>

  </extension>

</component><commit_msg>NXP-2108 : hide deleted section from publish tab<commit_after><?xml version="1.0"?>

<component name="org.nuxeo.ecm.publishing.querymodel.QueryModels">

  <extension
    target="org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService"
    point="model">

    <queryModel name="DOMAIN_SECTIONS">
      <pattern>
        SELECT * FROM Document WHERE ecm:path STARTSWITH ? and ecm:primaryType = ? AND ecm:mixinType != 'HiddenInNavigation' AND ecm:currentLifeCycleState != 'deleted'
      </pattern>

      <sortable value="true" defaultSortColumn="ecm:path"
        defaultSortAscending="true" />
    </queryModel>

  </extension>

</component>
{'fraction_non_alphanumeric': 0.13577235772357724, 'fraction_numerical': 0.0065040650406504065, 'mean_word_length': 4.024489795918368, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 2, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3636880', 'n_tokens_mistral': 418, 'n_tokens_neox': 392, 'n_words': 66}