Project

General

Profile

Actions

Bug #2348

closed

Selecting min or max date of a date range field results in all users displayed

Added by krileon over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
23 February 2011
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

With a date field set to display as age and min value of -99 and max value of -18 it results then searching with the range of 18-30 results in users with age greater then 30 displaying (all users display). The same affect is present when selecting the maximum age of 100 (all users display).

https://www.joomlapolis.com/forum/147-potential-bug/154918-search-in-user-list-minmax-value


Files

2348.patch (1.63 KB) 2348.patch krileon, 27 April 2011 21:55

Related issues 1 (0 open1 closed)

Related to CB - Bug #2337: Advanced filter not working with last online fieldClosedbeat19 February 2011

Actions
Actions #1

Updated by krileon over 13 years ago

  • File 2348.patch 2348.patch added
  • Status changed from New to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 100

The minimum and maximum age were swapped causing it to use Minimum specified when Maximum was actually the value provided. Patch swaps them to correctly calculate age ranges.

Actions #2

Updated by krileon over 13 years ago

This patch is tested WITH #2337 applied, recommended using both in order for correct usage, but MAY function without #2337.

Actions #3

Updated by beat over 13 years ago

  • Target version set to CB 1.7
Actions #4

Updated by beat over 13 years ago

  • Estimated time set to 2:00 h
Actions #5

Updated by beat over 13 years ago

  • Subject changed from selecting min or max date of a date range field results in all users displayed to Selecting min or max date of a date range field results in all users displayed
  • Status changed from Resolved to Closed

Fixed in r1488 with the proposed patch.
Thank you Kyle.

Actions

Also available in: Atom PDF