Re: Library.php

From: Stefan Kaczmarek <stefan_at_thezonie.org>
Date: Mon, 30 Apr 2007 06:32:28 -0700

What should desc and asc mean for Date sorting? I thought desc would
be a good default, because it would put the newest first (you know,
with the biggest timestamp first) but it looks like you're doing the
opposite of that.

On Apr 29, 2007, at 10:35 PM, Dylan Douglas wrote:

> That's cause I already changed them. =P
>
> I still have to check what the sort var is using a strcmp so it's
> not like it gets rid of a bunch of IF statements by using only one
> var. But, I'll change it to use only sort with the 5 values and
> check if a "desc" is present (otherwise it will be asc).
>
> ----------
> Dylan Douglas
> MediaDefender
>
> From: Stefan Kaczmarek
> Sent: Sun 4/29/2007 9:17 PM
> To: Dylan Douglas
> Cc: Ben Ebert; Ivan Kwok; Jay Mairs; Nainesh Solanki; Sergio
> Alvarez; Ty Heath
> Subject: Re: Library.php
>
> Acutally, history and favorites seem borked, too.
>
> :( :( :(
>
> On Apr 29, 2007, at 2:29 PM, Dylan Douglas wrote:
>
>> I changed the get request for the history/favorites/library. The
>> "sort" variable doesn't exist anymore. I'm just going to check
>> using the inset function.
>>
>> Use the following format:
>>
>> Alpha include "alpha".
>> Date include "date".
>> Size include "size".
>> Locked include "lock".
>> About to be deleted include "warn".
>>
>> For ascending include "asc".
>> For descending include "desc"
>>
>> Library isn't going to return locked or about to be deleted yet,
>> but it's getting there. Everything else on everything else should
>> be working now.
>>
>> ----------
>> Dylan Douglas
>> MediaDefender
>>
>> From: Stefan Kaczmarek
>> Sent: Sun 4/29/2007 10:38 AM
>> To: Dylan Douglas
>> Cc: Ben Ebert; Ivan Kwok; Jay Mairs; Nainesh Solanki; Sergio
>> Alvarez; Ty Heath
>> Subject: Re: Library.php
>>
>> From my notes, the sort methods for library are:
>>
>> Date (a/d), Alpha (a/d), Size (a/d), Locked, About to be deleted
>>
>> Favorites: alpha, size
>> History: alpha, size
>>
>> - Z
>>
>> On Apr 28, 2007, at 4:43 PM, Dylan Douglas wrote:
>>
>>> The library and history now match and also everything (library/
>>> history/queue/favorites) returns the rating/votes.
>>>
>>> Also, the library can be sorted by date (sort=0), alpha (sort=1),
>>> and size (sort=2). I don't remember what other sort methods I'm
>>> supposed to support, since my pad is at the office. I still have
>>> to add the sorting to the history and favorites, but it will be
>>> the same as the library.
>>>
>>> If anyone can remember what the other sort methods are, I'll
>>> implement them before Monday.
>>>
>>> ----------
>>> Dylan Douglas
>>> MediaDefender
>>>
>>> From: Stefan Kaczmarek
>>> Sent: Sat 4/28/2007 2:38 PM
>>> To: Dylan Douglas
>>> Cc: Ben Ebert; Ivan Kwok; Jay Mairs; Nainesh Solanki; Sergio
>>> Alvarez; Ty Heath
>>> Subject: Re: Library.php
>>>
>>> Can I also get the rating with each file? kthxbye
>>>
>>> On Apr 27, 2007, at 3:16 PM, Dylan Douglas wrote:
>>>
>>> > Finished the library.php enough for Z to start working on the
>>> display.
>>> > I still need to work on the sorting (for all the pages), but as of
>>> > now,
>>> > it sends back data the same as the queue/history/search and a
>>> total
>>> > results. Call it the exact same way as you do for the history.
>>> >
>>> > Now I'll start on the sorting crap.
>>> >
>>> > -----
>>> > Dylan Douglas
>>> > MediaDefender
>>> >
>>> >
>>> >
>>> > <winmail.dat>
>>>
>>
>
Received on Fri Sep 14 2007 - 10:56:00 BST

This archive was generated by hypermail 2.2.0 : Sun Sep 16 2007 - 22:19:47 BST