Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
fCRUD.php
r448 r530 Hide Line Numbers 3 3 * Provides miscellaneous functionality for [http://en.wikipedia.org/wiki/Create,_read,_update_and_delete CRUD-like] pages 4 4 * 5 * @copyright Copyright (c) 2007-200 8Will Bond5 * @copyright Copyright (c) 2007-2009 Will Bond 6 6 * @author Will Bond [wb] <will@flourishlib.com> 7 7 * @license http://flourishlib.com/license … … 10 10 * @link http://flourishlib.com/fCRUD 11 11 * 12 * @version 1.0.0b 13 * @changes 1.0.0b The initial implementation [wb, 2007-06-14] 12 * @version 1.0.0b2 13 * @changes 1.0.0b2 Fixed a bug preventing loaded search values from being included in redirects [wb, 2009-03-18] 14 * @changes 1.0.0b The initial implementation [wb, 2007-06-14] 14 15 */ 15 16 class fCRUD … … 201 202 } 202 203 203 if (self::getPreviousSearchValue($column) && fRequest::get($column, $cast_to, $default) === NULL) {204 if (self::getPreviousSearchValue($column) && !fRequest::check($column)) { 204 205 self::$search_values[$column] = self::getPreviousSearchValue($column); 205 206 self::$loaded_values[$column] = self::$search_values[$column]; … … 233 234 } 234 235 235 if (self::getPreviousSortColumn() && fRequest::get('sort') === NULL) {236 if (self::getPreviousSortColumn() && !fRequest::check('sort')) { 236 237 self::$sort_column = self::getPreviousSortColumn(); 237 238 self::$loaded_values['sort'] = self::$sort_column; … … 258 259 } 259 260 260 if (self::getPreviousSortDirection() && fRequest::get('dir') === NULL) {261 if (self::getPreviousSortDirection() && !fRequest::check('dir')) { 261 262 self::$sort_direction = self::getPreviousSortDirection(); 262 263 self::$loaded_values['dir'] = self::$sort_direction; … … 580 581 581 582 /** 582 * Copyright (c) 2007-200 8Will Bond <will@flourishlib.com>583 * Copyright (c) 2007-2009 Will Bond <will@flourishlib.com> 583 584 * 584 585 * Permission is hereby granted, free of charge, to any person obtaining a copy
