PageSourceSearch

https://www.agriturismotenutadicorbara.it/wp-content/plugins/ecomm…/js/products/displayproducts_barsort.js

js agriturismotenutadicorbara.it collected 2026-10-09 23:14:21 UTC 3,005 bytes, 49 lines download raw bytes

1/**
2 * package E-Commerce WD
3 * author Web-Dorado
4 * copyright (C) 2014 Web-Dorado. All rights reserved.
5 * license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
6 **/
7
8////////////////////////////////////////////////////////////////////////////////////////
9// Events                                                                             //
10////////////////////////////////////////////////////////////////////////////////////////
11////////////////////////////////////////////////////////////////////////////////////////
12// Constants                                                                          //
13////////////////////////////////////////////////////////////////////////////////////////
14////////////////////////////////////////////////////////////////////////////////////////
15// Variables                                                                          //
16////////////////////////////////////////////////////////////////////////////////////////
17////////////////////////////////////////////////////////////////////////////////////////
18// Constructor                                                                        //
19////////////////////////////////////////////////////////////////////////////////////////
20////////////////////////////////////////////////////////////////////////////////////////
21// Public Methods                                                                     //
22////////////////////////////////////////////////////////////////////////////////////////
23////////////////////////////////////////////////////////////////////////////////////////
24// Getters & Setters                                                                  //
25////////////////////////////////////////////////////////////////////////////////////////
26////////////////////////////////////////////////////////////////////////////////////////
27// Private Methods                                                                    //
28////////////////////////////////////////////////////////////////////////////////////////
29////////////////////////////////////////////////////////////////////////////////////////
30// Listeners                                                                          //
31////////////////////////////////////////////////////////////////////////////////////////
32function wdShop_formSort_onSortByChange(event, obj) {
33    var jq_formSort = jQuery("form[name=wd_shop_form_sort]");
34    var sortBy = jq_formSort.find("select[name=sort_by] option:selected").val();
35    wdShop_mainForm_set("sort_by", sortBy);
36    wdShop_mainForm_set("sort_order", "asc");
37    wdShop_mainForm_set('pagination_limit_start', 0);
38
39    wdShop_mainForm_setAction(wdShop_urlDisplayProducts);
40    wdShop_mainForm_submit();
41}
42
43function wdShop_formSort_onBtnSortOrderClick(event, obj, newOrder) {
44    wdShop_mainForm_set("sort_order", newOrder);
45    wdShop_mainForm_set('pagination_limit_start', 0);
46
47    wdShop_mainForm_setAction(wdShop_urlDisplayProducts);
48    wdShop_mainForm_submit();
49}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.