瀏覽代碼

Bug fix submitter filter

tags/v1.0.0
Isaac Bythewood 11 年之前
父節點
當前提交
9a6d540a86
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      pinry/static/js/pinry.js

+ 1
- 1
pinry/static/js/pinry.js 查看文件

@@ -77,7 +77,7 @@ $(window).load(function() {
// Fetch our pins from the api using our current offset
var apiUrl = '/api/v1/pin/?format=json&order_by=-id&offset='+String(offset);
if (tagFilter) apiUrl = apiUrl + '&tag=' + tagFilter;
if (userFilter) apiUrl = apiUrl + '&submitter_username=' + userFilter;
if (userFilter) apiUrl = apiUrl + '&submitter__username=' + userFilter;
$.get(apiUrl, function(pins) {
// Set which items are editable by the current user
for (var i=0; i < pins.objects.length; i++)


Loading…
取消
儲存