Project

General

Profile

Actions

task #8710

closed

Decide if sub-area preference and/or status order preference rule

Added by Andreas Müller over 4 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal

Description

Currently they are switched of in default dataportals.
The setting can be found in the portal settings on the general page.

Actions #2

Updated by Andreas Müller over 4 years ago

Probably needs discussion with users.

Actions #3

Updated by Andreas Müller over 4 years ago

relevant code:

define('CDM_DISTRIBUTION_FILTER_DEFAULT', serialize(
array(
'filter_rules' => array(
'statusOrderPreference' => 0,
'subAreaPreference' => 0,
),
'hiddenAreaMarkerType' => array()
)
));
Actions #4

Updated by Andreas Müller about 2 months ago

  • Subject changed from Decide if sub-area Preference and/or status order preference rule to Decide if sub-area preference and/or status order preference rule
  • Status changed from New to In Progress
  • Assignee changed from Andreas Müller to Katja Luther
  • Priority changed from New to Highest
  • Target version changed from Unassigned CDM tickets to Release 5.47

Experience shows that both preferences should be true by default

Actions #5

Updated by Katja Luther about 2 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

The default is set to true

Actions #6

Updated by Andreas Müller about 2 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 0 to 70

Please let me know how to review or close ticket if you are convinced that the fix is ok.

Actions #7

Updated by Andreas Müller about 1 month ago

  • Target version changed from Release 5.47 to Release 5.43
Actions #8

Updated by Katja Luther about 1 month ago

  • Status changed from Feedback to Closed
  • % Done changed from 70 to 100

The setting has the new default value now, but if there is already a value for the variable 'distributionFilter' then this value is used. Therefore most of the portals will have this variable set and the change of the default will not have any effect.
I tested it with removing the variable from the database and then the default value is shown correctly. So I would close this ticket.

Actions

Also available in: Atom PDF