PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Sort by... is not working properly (http://www.photopost.com/forum/classifieds-bug-reports/122021-sort-not-working-properly.html)

Marshal Halloway January 6th, 2006 09:25 PM

Sort by... is not working properly
 
How is the sort by function set up?

What is default?

Can it be changed?

If you look at
http://www.cascity.com/classifieds/showcat.php?cat=all

you can see that the sort by function is acting strange.

Please advise.

Chuck S January 7th, 2006 05:02 PM

Your sort seems to work fine for me

The default is sort 2 which is most views

Currently it is hard coded in the showcat.php but we can look at adding a selector box in edit categories on the new beta

Marshal Halloway January 8th, 2006 03:08 AM

If you look at
http://www.cascity.com/classifieds/s...p?cat=3&page=1

You will see that Most Views works fine.

But when you change sorting, you will see something different:

Most recent doesn't sort correctly

Most popular doesn't sort correctly

Least popular doesn't sort correctly

Product title doesn't sort correctly

In general it looks like some work, some don't.

Or is a listing combined of auction and asking price listed different?

Look at this example.

http://www.cascity.com/classifieds/s....php?cat=last7

Shouldn't all ads go down in numbers from the top (most views) ?

When this is written, it shows from top

134 views
94
58
then 118 views
101
but then it shows correctly further down.

To me, it seems to be a bug somewhere.

Chuck S January 8th, 2006 09:23 AM

It works fine and I know your issue. Remember on your sorting look at the sort most views

INSERT INTO {$pp_db_prefix}sort VALUES (1,'Most Recent','ORDER BY disporder,date DESC')";

All sorts work by display order first then the sort.

You have 3 ads you have marked STICKY. Look at this page here and select most views and you see the first 3 ads. If you unsticky those sticky ads I think you will see sorts work fine.

http://www.cascity.com/classifieds/s....php?cat=last7

Marshal Halloway January 8th, 2006 11:50 AM

Duh!

Thanks!

Now, how does sticky work? I know I can make all user ads sticky, but how can users select sticky or order sticky. I can't find that anywhere.

I see I have in the admin page what is called

Order Stickies

but regular users have no option of ordering them and I cannot find how to set up a price for it in the admin section.

Chuck S January 8th, 2006 12:02 PM

Only admin or mod can make a thread sticky just like on a forum

Marshal Halloway January 8th, 2006 12:18 PM

I understood that part, but again.....

How can users order stickies? Is this implemented yet. I would assume it is, since Admin has a listing page of ordered stickies.

Chuck S January 8th, 2006 12:56 PM

Stickies when you change a sort are simply viewed first then the rest of the sort takes place so stickies are first since there disporder is 1 and regular ads are 99999.

I hope that makes sense. Stickies still follow the sort but those are displayed first and then the rest. Hense every sort you do you find the first 3 ads which are sticky first and sorted according to the sort.

Marshal Halloway January 8th, 2006 01:16 PM

I understand that part, but once again.....

How can users order stickies? There are no link to order stickies or check box when posting a new ad.

Is this implemented yet?

I would assume it is, since Admin has a listing page of ordered stickies.

Chuck S January 8th, 2006 02:33 PM

Okay I think I am not explaining this well enough. The whole purchase of Sticky posts is they always appear at the top of threads. Hense everything is sorted by the sort parameter and stickies appear first then the rest

There is nothing left to implement as this feature is working correctly

Marshal Halloway January 8th, 2006 03:21 PM

Well, I understand it somewhat better now. it could also be me that is not asking the questions right :) , so let me try again the part that I still don't understand fully.

Now, in the admin section, there is something called "Order Stickies".

Clicking on that, I end up in what is called "PhotoPost Classifieds Admin Product Sorting Interface".

All that is shown there is:

No products have been marked as 'sticky' for this category.

I can select Category (show only "Wanted") and sort by alternatives.

Sales are not listed and I also wonder about what this section is used for.


All times are GMT -5. The time now is 10:27 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97