Project

General

Profile

Actions

Bug #2348

closed

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

Bug #2348: Selecting min or max date of a date range field results in all users displayed

Added by krileon almost 15 years ago. Updated over 14 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

Updated by krileon over 14 years ago Actions #1

  • 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.

Updated by krileon over 14 years ago Actions #2

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

Updated by beat over 14 years ago Actions #3

  • Target version set to CB 1.7

Updated by beat over 14 years ago Actions #4

  • Estimated time set to 2:00 h

Updated by beat over 14 years ago Actions #5

  • 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: PDF Atom