Ticket #813 (new defect)

Opened 14 years ago

Last modified 13 years ago

draft documents in search results

Reported by: tziade Owned by: gracinet
Priority: P3 Milestone: CPS 3.5.7
Component: CPSDefault Version: TRUNK
Severity: minor Keywords:
Cc:

Description

a draft document should not be retrieved by portal searches, unless the user is the one who has checked out

Change History

comment:1 Changed 14 years ago by fguillaume

  • Milestone changed from CPS 3.3.5 to CPS 3.3.6

comment:2 Changed 14 years ago by fguillaume

  • Milestone changed from CPS 3.3.6 to CPS 3.4.0

comment:3 Changed 14 years ago by gracinet

Just tested: the count is wrong (says that search returned 2 results), but the draft doesn't show up.

Aside: to me, the permissions set on drafts don't make sense.

comment:4 Changed 14 years ago by gracinet

  • Priority changed from P2 to P3
  • Owner changed from trac to gracinet
  • Severity changed from normal to minor
  • Milestone changed from CPS 3.4.0 to CPS 3.4.1

About the bad count: the script returns a consistent info. What happens is that this is passed to

<metal:block use-macro="here/content_lib_display_contents/macros/display_contents" />

which does the batching and so on. In particular, it decides for each item whether to display it or not. So it'd be a bigger refactor to have a consistent count.

comment:5 Changed 13 years ago by sfermigier

  • Milestone changed from CPS 3.4.1 to CPS 3.4.2

comment:6 Changed 13 years ago by sfermigier

  • Milestone changed from CPS 3.4.2 to CPS 3.4.3
Note: See TracTickets for help on using tickets.