Jump to content


Photo

Custom database sort


If you are NOT using .htaccess mod_rewrite.. And, you create a database with no categories.

When you view the database, and click the "Sort Options" to sort the records, since they use

{$data['parent']['category_link']}

As part of the link, and there is no category, you wind up with something like

http://www.site.com/index.php?sort_col=record_saved&sort_order=desc

Instead of

http://www.site.com/index.php?/page/Caption/test.html?sort_col=record_saved&sort_order=desc

Which, I assume it should be

Status: Fixed
Version: 2.3.1
Fixed In: 2.3.2


1 Comments

<if test="$data['parent']['category_link']">
{$data['parent']['category_link']}
<else />
{$data['database']['base_link']}
</if>
:turned: Thought I picked that habit up from your templates... suppose not.