mirror of
https://github.com/documize/community.git
synced 2025-07-30 02:29:43 +02:00
Make search re-indexing multi-tenant aware
Makes things easier when having to reindex in multi-tenant deployments.
This commit is contained in:
parent
85b3f6e8ee
commit
8eb930d281
7 changed files with 731 additions and 684 deletions
|
@ -57,7 +57,7 @@ func (s Store) Get(ctx domain.RequestContext, id string) (document doc.Document,
|
|||
c_lifecycle AS lifecycle, c_versioned AS versioned, c_versionid AS versionid,
|
||||
c_versionorder AS versionorder, c_groupid AS groupid, c_created AS created, c_revised AS revised
|
||||
FROM dmz_doc
|
||||
WHERE c_orgid=? and c_refid=?`),
|
||||
WHERE c_orgid=? AND c_refid=?`),
|
||||
ctx.OrgID, id)
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue