mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged V4.1-BUG-FIX to HEAD
42725: Record Only Merge: V3.4-BUG-FIX (3.4.12) to V4.1-BUG-FIX (4.1.2) << Record only as 4.1.2 used PDFBOX 1.0.7 rather than 1.0.6 >> 42721: ALF-14185 PDF not indexed as a result of PDFBOX-1143 workaround in Tika 42726: ALF-16388 CLONE: PDF not indexed as a result of PDFBOX-1143 workaround in Tika - 4.1 specific fix (uses PDFBox 1.0.7) for the same issue as ALF-14185 on 3.4 (uses PDFBox 1.0.6). 42736: ALF-16093: Implement new getPeople CQ (eg. if using user admin console and/or Solr unavailable) 42740: Merged DEV to V4.1-BUG-FIX 42626: ALF-14336: SOLR indexing fails with unterminated string for PDF uploaded Appeared exception due to postgreSQL (http://archives.postgresql.org/pgsql-jdbc/2007-02/msg00107.php). Remove '\u0000' characters from the property. 42741: Fix for ALF-16332 - Alternative version of AbstractWebScriptViewResolver that uses a ConcurrentHashMap and thus allows multiple views to be resolved at the same time! 42755: Merged DEV to V4.1-BUG-FIX 42750 : ALF-16315 42762: ALF-15616: Merged V3.4-BUG-FIX (3.4.12) to V4.1-BUG-FIX (4.1.2) 42758: ALF-11956 WCM accessibility - tabIndex code. See comment on 17 Oct 2012 "4) TinyMCE fields are not accessible using the keyboard (you have to use the mouse to select the "click to edit" option) - > It's reproduced for (+) icon, content created on press-release.xsd." 42768: Merged somehow-lost mergeinfo from r42679 42769: Merged V3.4-BUG-FIX to V4.1-BUG-FIX 42738: ALF-12724 CLONE - Activities trigger high CPU usage and lock contention 42767: Merged V3.4 to V3.4-BUG-FIX 42727: ALF-16366: PermissionService calls were updating nodes but not reindexing them, leaving out of sync transactions after a clean bootstrap! git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42770 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="alfresco.query.people">
|
||||
|
||||
<!-- -->
|
||||
<!-- Result Maps -->
|
||||
<!-- -->
|
||||
|
||||
<!-- GetPeople Canned Query -->
|
||||
|
||||
<select id="select_GetPeopleCannedQuery" parameterType="FilterSortPerson" resultType="String">
|
||||
select
|
||||
childNode.uuid as uuid
|
||||
from
|
||||
alf_child_assoc assoc
|
||||
join alf_node childNode on (childNode.id = assoc.child_node_id)
|
||||
<if test="prop1qnameId != null">
|
||||
left join alf_node_properties prop1 on (prop1.node_id = childNode.id and prop1.qname_id = #{prop1qnameId})
|
||||
</if>
|
||||
<if test="prop2qnameId != null">
|
||||
left join alf_node_properties prop2 on (prop2.node_id = childNode.id and prop2.qname_id = #{prop2qnameId})
|
||||
</if>
|
||||
<if test="prop3qnameId != null">
|
||||
left join alf_node_properties prop3 on (prop3.node_id = childNode.id and prop3.qname_id = #{prop3qnameId})
|
||||
</if>
|
||||
where
|
||||
assoc.parent_node_id = #{parentNodeId}
|
||||
<if test="prop1qnameId != null">
|
||||
and
|
||||
(
|
||||
prop1.string_value like #{pattern} <include refid="alfresco.util.escape"/>
|
||||
</if>
|
||||
<if test="prop2qnameId != null">
|
||||
or prop2.string_value like #{pattern} <include refid="alfresco.util.escape"/>
|
||||
</if>
|
||||
<if test="prop3qnameId != null">
|
||||
or prop3.string_value like #{pattern} <include refid="alfresco.util.escape"/>
|
||||
</if>
|
||||
<if test="prop1qnameId != null">
|
||||
)
|
||||
</if>
|
||||
<if test="sort1asc != null">
|
||||
order by
|
||||
prop1.string_value <if test="sort1asc == true">ASC</if><if test="sort1asc == false">DESC</if>
|
||||
</if>
|
||||
<if test="sort2asc != null">
|
||||
, prop2.string_value <if test="sort2asc == true">ASC</if><if test="sort2asc == false">DESC</if>
|
||||
</if>
|
||||
<if test="sort3asc != null">
|
||||
, prop3.string_value <if test="sort3asc == true">ASC</if><if test="sort3asc == false">DESC</if>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user